[h5py] 316/455: Disable nosetests (#51) and require modern Cython

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:19:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to annotated tag 1.3.0
in repository h5py.

commit 642d7af0c908d992d5f60bc9004bd0f675c47aa7
Author: andrewcollette <andrew.collette at gmail.com>
Date:   Fri Oct 2 03:49:36 2009 +0000

    Disable nosetests (#51) and require modern Cython
---
 setup.py | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index 59b5051..9013c90 100644
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,7 @@ import pickle
 NAME = 'h5py'
 VERSION = '1.2.2'
 MIN_NUMPY = '1.0.3'
-MIN_CYTHON = '0.9.8.1.1'
+MIN_CYTHON = '0.11.2'
 SRC_PATH = 'h5py'           # Name of directory with .pyx files
 
 USE_DISTUTILS = False
@@ -494,8 +494,23 @@ class doc(Command):
 
         shutil.copytree('docs/build/html', 'docs/html')
 
+class nose_stub(Command):
+
+    description = "UNSUPPORTED"
+
+    user_options = []
+    boolean_options = []
+
+    def initialize_options(self):
+        pass
+    def finalize_options(self):
+        pass
+
+    def run(self):
+        fatal("h5py is not compatible with nosetests command")
+
 CMD_CLASS = {'cython': cython, 'build_ext': hbuild_ext, 'clean': cleaner,
-             'configure': configure, 'doc': doc}
+             'configure': configure, 'doc': doc, 'nosetests': nose_stub}
 
 # --- Setup parameters --------------------------------------------------------
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/h5py.git



More information about the debian-science-commits mailing list