forked from networkx/networkx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup_egg.py
executable file
·57 lines (40 loc) · 1.43 KB
/
setup_egg.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/usr/bin/env python
"""
An alternate setup.py script that uses setuptools.
You can install networkx with
python setup_egg.py install
If you have setuptools and run this as
python setup_egg.py bdist_egg
you will get a Python egg.
Use
python setup_egg.py nosetests
to run the tests.
"""
# local import, might need modification for 2.6/3.0
from setup import *
# must occur after local import to override distutils.core.setup
from setuptools import setup
if __name__ == "__main__":
setup(
name = release.name.lower(),
version = version,
maintainer = release.maintainer,
maintainer_email = release.maintainer_email,
author = release.authors['Hagberg'][0],
author_email = release.authors['Hagberg'][1],
description = release.description,
keywords = release.keywords,
long_description = release.long_description,
license = release.license,
platforms = release.platforms,
url = release.url,
download_url = release.download_url,
classifiers = release.classifiers,
packages = packages,
data_files = data,
package_data = package_data,
install_requires=['setuptools'],
test_suite = 'nose.collector',
tests_require = ['nose >= 0.10.1'] ,
zip_safe = False
)