forked from neo4j-graph-analytics/networkx-neo4j
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
48 lines (42 loc) · 1.15 KB
/
setup.py
File metadata and controls
48 lines (42 loc) · 1.15 KB
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
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.1",
maintainer="Mark Needham",
maintainer_email="m.h.needham@gmal.com",
author="Mark Needham",
author_email="m.h.needham@gmal.com",
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
)