[hdf-compass] 288/295: added optional dependencies as extras_require

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun May 8 10:35:56 UTC 2016


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

ghisvail-guest pushed a commit to branch debian/master
in repository hdf-compass.

commit 30a877c7ca74775cfea343525a6803f3c1042b5c
Author: giumas <giumas at yahoo.it>
Date:   Thu Apr 28 08:27:14 2016 -0400

    added optional dependencies as extras_require
---
 setup.py | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/setup.py b/setup.py
index f998048..1e6e662 100644
--- a/setup.py
+++ b/setup.py
@@ -96,13 +96,16 @@ setup_args['install_requires'] =\
     [
         "numpy",
         "matplotlib>=1.5",
-        "cartopy[plotting]",
         "h5py",
         "wxPython==3.0.2",
-        "hydroffice.bag>=0.2.10",
-        "pydap",
         "requests"
     ]
+setup_args['extras_require'] =\
+    {
+        "GeoNodes": ["cartopy[plotting]", ],  # required for visualization of GeoArray and GeoSurface nodes
+        "BAG": ["hydroffice.bag>=0.2.10", ],  # required by BAG plugin
+        "OpenDAP": ["pydap", ],  # required by OpenDAP plugin
+    }
 # hdf_compass namespace, packages and other files
 setup_args['namespace_packages'] = ['hdf_compass']
 setup_args['packages'] = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests", "*.test*",

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



More information about the debian-science-commits mailing list