-
Notifications
You must be signed in to change notification settings - Fork 32
/
setup.py
46 lines (40 loc) · 1.11 KB
/
setup.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
"""
Setup script for networkx-neo4j
You can install networkx-neo4j with
python setup.py install
"""
import os
import sys
if os.path.exists('MANIFEST'):
os.remove('MANIFEST')
from setuptools import setup
if sys.argv[-1] == 'setup.py':
print("To install, run 'python setup.py install'")
print()
if sys.version_info[:2] < (3, 6):
print("NetworkX Neo4j requires Python 3.6 or later (%d.%d detected)." %
sys.version_info[:2])
sys.exit(-1)
packages = [
"nxneo4j",
]
if __name__ == "__main__":
setup(
name="networkx-neo4j",
version="0.0.3",
maintainer="Mark Needham",
maintainer_email="[email protected]",
author="Mark Needham",
author_email="[email protected]",
description="NetworkX API for Neo4j Graph Algorithms",
keywords="neo4j, networkx",
long_description="NetworkX API for Neo4j Graph Algorithms",
license="Apache 2",
platforms="All",
url="http://markhneedham.com",
install_requires=[
'neo4j-driver',
],
packages=packages,
zip_safe=False
)