-
Notifications
You must be signed in to change notification settings - Fork 47
/
setup.py
63 lines (54 loc) · 2.22 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import setuptools
with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
with open("requirements/base/base.txt", "r", encoding="utf-8") as f:
reqs = f.read().splitlines()
with open("requirements/base/ogb.txt", "r", encoding="utf-8") as f:
ogb_reqs = f.read().splitlines()
with open("requirements/base/rust-ext.txt", "r", encoding="utf-8") as f:
rust_ext_reqs = f.read().splitlines()
with open("requirements/base/networkx.txt", "r", encoding="utf-8") as f:
nx_reqs = f.read().splitlines()
with open("graphdatascience/version.py") as f:
version = f.readline().strip().split()[-1][1:-1]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Database",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
"Typing :: Typed",
]
project_urls = {
"Documentation": "https://neo4j.com/docs/graph-data-science-client/current/",
"Source": "https://github.com/neo4j/graph-data-science-client",
"Bug Tracker": "https://github.com/neo4j/graph-data-science-client/issues",
}
setuptools.setup(
name="graphdatascience",
version=version,
author="Neo4j",
author_email="[email protected]",
description="A Python client for the Neo4j Graph Data Science (GDS) library",
long_description=long_description,
long_description_content_type="text/markdown",
license="Apache License 2.0",
url="https://neo4j.com/product/graph-data-science/",
classifiers=classifiers,
packages=setuptools.find_packages(),
package_data={"graphdatascience": ["py.typed", "resources/**/*.gzip"]},
project_urls=project_urls,
python_requires=">=3.9",
install_requires=reqs,
zip_safe=False,
extras_require={"ogb": ogb_reqs, "networkx": nx_reqs, "rust_ext": rust_ext_reqs},
)