summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorMridul Seth <seth.mridul@gmail.com>2017-03-21 17:08:15 +0530
committerMridul Seth <seth.mridul@gmail.com>2017-03-21 17:08:15 +0530
commitec9581ade9aa86dc82a197e26b4e3575f23e09de (patch)
tree0cda210cb2b04f3ea87d78dab9d43314858ba02b /setup.py
parentabff77d798b1fb0dfeb5186e26f926af68127056 (diff)
downloadnetworkx-ec9581ade9aa86dc82a197e26b4e3575f23e09de.tar.gz
Add optional dependencies
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 89ef5e2f..5f0fde22 100644
--- a/setup.py
+++ b/setup.py
@@ -110,6 +110,8 @@ package_data = {
}
install_requires = ['decorator>=3.4.0']
+extras_require = {'all': ['numpy', 'scipy', 'pandas', 'matplotlib',
+ 'pygraphviz', 'pydot', 'pyyaml', 'gdal']}
if __name__ == "__main__":
@@ -132,6 +134,7 @@ if __name__ == "__main__":
data_files = data,
package_data = package_data,
install_requires = install_requires,
+ extras_require = extras_require,
test_suite = 'nose.collector',
tests_require = ['nose>=0.10.1'],
zip_safe = False