[python-dtcwt] 46/497: setup.py: re-organise dependencies

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Jul 21 18:05:48 UTC 2015


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

ghisvail-guest pushed a commit to branch debian/sid
in repository python-dtcwt.

commit 1d39548e67f4a24753c53342ed7f52c6287e580e
Author: Rich Wareham <rjw57 at cam.ac.uk>
Date:   Wed Aug 7 23:41:11 2013 +0100

    setup.py: re-organise dependencies
    
    Try to make sure travis only installs what is required.
---
 setup.py | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/setup.py b/setup.py
index e80c250..c096127 100644
--- a/setup.py
+++ b/setup.py
@@ -31,12 +31,15 @@ setup(
         'dtcwt': ['data/*.npz',],
     },
 
-    setup_requires=[
-        'nose>=1.0','coverage',
-        'sphinx','setuptools','docutils',
-    ],
+    setup_requires=[ 'nose>=1.0', ],
+
+    install_requires=[ 'numpy', ],
+
+    extras_require={
+        'docs': [ 'sphinx', 'docutils', ],
+    },
 
-    install_requires=['numpy',],
+    tests_require=[ 'coverage', ],
 
     command_options = {
         'build_sphinx': {

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



More information about the debian-science-commits mailing list