pytest-cmake 0.11.2__tar.gz → 0.11.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pytest_cmake-0.11.2 → pytest_cmake-0.11.4}/PKG-INFO +1 -1
- {pytest_cmake-0.11.2 → pytest_cmake-0.11.4}/cmake/FindPytest.cmake +10 -2
- {pytest_cmake-0.11.2 → pytest_cmake-0.11.4}/pyproject.toml +1 -1
- {pytest_cmake-0.11.2 → pytest_cmake-0.11.4}/setup.py +1 -1
- {pytest_cmake-0.11.2 → pytest_cmake-0.11.4}/.gitignore +0 -0
- {pytest_cmake-0.11.2 → pytest_cmake-0.11.4}/LICENSE +0 -0
- {pytest_cmake-0.11.2 → pytest_cmake-0.11.4}/README.md +0 -0
- {pytest_cmake-0.11.2 → pytest_cmake-0.11.4}/build_backend.py +0 -0
- {pytest_cmake-0.11.2 → pytest_cmake-0.11.4}/build_config.py +0 -0
- {pytest_cmake-0.11.2 → pytest_cmake-0.11.4}/cmake/PytestAddTests.cmake +0 -0
@@ -71,8 +71,16 @@ if (Pytest_FOUND AND NOT TARGET Pytest::Pytest)
|
|
71
71
|
endif()
|
72
72
|
|
73
73
|
# Convert paths to CMake-friendly format.
|
74
|
-
|
75
|
-
|
74
|
+
if(DEFINED ENV{${LIBRARY_ENV_NAME}})
|
75
|
+
cmake_path(CONVERT "$ENV{${LIBRARY_ENV_NAME}}" TO_CMAKE_PATH_LIST LIBRARY_PATH)
|
76
|
+
else()
|
77
|
+
set(LIBRARY_PATH "")
|
78
|
+
endif()
|
79
|
+
if(DEFINED ENV{PYTHONPATH})
|
80
|
+
cmake_path(CONVERT "$ENV{PYTHONPATH}" TO_CMAKE_PATH_LIST PYTHON_PATH)
|
81
|
+
else()
|
82
|
+
set(PYTHON_PATH "")
|
83
|
+
endif()
|
76
84
|
|
77
85
|
# Prepend specified paths to the library and Python paths.
|
78
86
|
if (_LIBRARY_PATH_PREPEND)
|
@@ -9,7 +9,7 @@ backend-path = ["."]
|
|
9
9
|
|
10
10
|
[project]
|
11
11
|
name = "pytest-cmake"
|
12
|
-
version = "0.11.
|
12
|
+
version = "0.11.4"
|
13
13
|
description = "Provide CMake module for Pytest"
|
14
14
|
readme = "README.md"
|
15
15
|
requires-python = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|