diff options
author | Glenn Johnson <glenn-johnson@uiowa.edu> | 2016-04-04 12:12:42 -0500 |
---|---|---|
committer | Glenn Johnson <glenn-johnson@uiowa.edu> | 2016-04-04 14:02:55 -0500 |
commit | 8404f084c8d768a197b830ff1809eb35f505ca8d (patch) | |
tree | f70c59b004c1f7231c299382bf66c08bd1223e71 | |
parent | a10ab78e28ca14f923e93029027f763c16fab7fc (diff) | |
download | spack-8404f084c8d768a197b830ff1809eb35f505ca8d.tar.gz spack-8404f084c8d768a197b830ff1809eb35f505ca8d.tar.bz2 spack-8404f084c8d768a197b830ff1809eb35f505ca8d.tar.xz spack-8404f084c8d768a197b830ff1809eb35f505ca8d.zip |
New package - py-networkx (https://networkx.github.io/).
-rw-r--r-- | var/spack/repos/builtin/packages/py-networkx/package.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-networkx/package.py b/var/spack/repos/builtin/packages/py-networkx/package.py new file mode 100644 index 0000000000..893146ec3e --- /dev/null +++ b/var/spack/repos/builtin/packages/py-networkx/package.py @@ -0,0 +1,15 @@ +from spack import * + +class PyNetworkx(Package): + """NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks.""" + homepage = "http://networkx.github.io/" + url = "https://pypi.python.org/packages/source/n/networkx/networkx-1.11.tar.gz" + + version('1.11', '6ef584a879e9163013e9a762e1cf7cd1') + + extends('python') + + depends_on('py-decorator') + + def install(self, spec, prefix): + python('setup.py', 'install', '--prefix=%s' % prefix) |