[segyio] 37/376: Ensure that Python tests are not run if Python interpreter and Numpy version fails.
Jørgen Kvalsvik
jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:04 UTC 2017
This is an automated email from the git hooks/post-receive script.
jokva-guest pushed a commit to branch debian
in repository segyio.
commit 7f26a4caa073c8b2a358ccedd3d9d84dd97448b1
Author: jeanpaul <jpb at prador.net>
Date: Sat Oct 15 11:55:45 2016 +0200
Ensure that Python tests are not run if Python interpreter and Numpy version fails.
---
python/CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
index ff713d1..bfaa4bb 100644
--- a/python/CMakeLists.txt
+++ b/python/CMakeLists.txt
@@ -1,5 +1,6 @@
if (NOT DEFINED PYTHON_EXECUTABLE)
message("Python interpreter not found - Python wrappers not enabled")
+ unset(BUILD_PYTHON)
return()
endif()
@@ -7,6 +8,7 @@ endif()
python_module(numpy 1.6)
if (NOT DEFINED PY_numpy)
message("numpy module not found - Python wrappers not enabled")
+ unset(BUILD_PYTHON)
return()
endif()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/segyio.git
More information about the debian-science-commits
mailing list