New package - py-networkx (https://networkx.github.io/).
This commit is contained in:
parent
a10ab78e28
commit
8404f084c8
15
var/spack/repos/builtin/packages/py-networkx/package.py
Normal file
15
var/spack/repos/builtin/packages/py-networkx/package.py
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user