-
Notifications
You must be signed in to change notification settings - Fork 209
/
Copy pathsetup.py
executable file
·143 lines (128 loc) · 5.38 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
#!/usr/bin/env python
from setuptools import setup, find_packages
#FIXME: prevents pyproject.toml - same as https://github.com/SciTools/cartopy/issues/1270
import versioneer
def unique_flatten_dict(d):
return list(set(sum( d.values(), [] )))
core_requires = [
'numpy',
'palettable >= 3.0',
'pandas',
'pyarrow >= 0.15.0',
'requests',
'squarify',
'typing-extensions',
'packaging >= 20.1',
'setuptools',
]
stubs = [
'pandas-stubs', 'types-requests', 'ipython', 'tqdm-stubs'
]
test_workarounds = ['scikit-learn<=1.3.2']
dev_extras = {
'docs': [
'docutils==0.21.2',
'ipython==8.28',
'Jinja2==3.1.4',
'myst-parser==4.0.0',
'nbsphinx==0.9.5',
'pygments>2.10',
'sphinx==8.0.2',
#'sphinx_autodoc_typehints==1.11.1',
'sphinx-copybutton==0.5.2',
'sphinx-book-theme==1.1.3',
],
'test': ['flake8>=5.0', 'mock', 'mypy', 'pytest'] + stubs + test_workarounds,
'testai': [
'numba>=0.57.1' # https://github.com/numba/numba/issues/8615
],
'build': ['build']
}
base_extras_light = {
'igraph': ['igraph'],
'networkx': ['networkx>=2.5'],
'gremlin': ['gremlinpython'],
'bolt': ['neo4j', 'neotime'],
'nodexl': ['openpyxl==3.1.0', 'xlrd'],
'jupyter': ['ipython'],
}
base_extras_heavy = {
'umap-learn': ['umap-learn', 'dirty-cat==0.2.0', 'scikit-learn>=1.0'],
'pygraphviz': ['pygraphviz'], # + apt-get graphviz, graphviz-dev
}
# https://github.com/facebookresearch/faiss/issues/1589 for faiss-cpu 1.6.1, #'setuptools==67.4.0' removed
base_extras_heavy['ai'] = base_extras_heavy['umap-learn'] + ['scipy', 'dgl', 'torch<2', 'sentence-transformers', 'faiss-cpu', 'joblib']
base_extras = {**base_extras_light, **base_extras_heavy}
extras_require = {
**base_extras_light,
**base_extras_heavy,
**dev_extras,
#kitchen sink for users -- not recommended
'all': unique_flatten_dict(base_extras),
#kitchen sink for contributors, skips ai
'dev': unique_flatten_dict(base_extras_light) + unique_flatten_dict(dev_extras),
}
setup(
name='graphistry',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
packages = find_packages(),
platforms='any',
description = 'A visual graph analytics library for extracting, transforming, displaying, and sharing big graphs with end-to-end GPU acceleration',
long_description=open("./README.md").read(),
long_description_content_type='text/markdown',
url='https://github.com/graphistry/pygraphistry',
download_url= 'https://pypi.python.org/pypi/graphistry/',
python_requires='>=3.8',
author='The Graphistry Team',
author_email='pygraphistry@graphistry.com',
install_requires=core_requires,
extras_require=extras_require,
license='BSD',
classifiers=[
'Development Status :: 6 - Mature',
'Environment :: Console',
'Environment :: GPU :: NVIDIA CUDA',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Internet :: Log Analysis',
'Topic :: Database :: Front-Ends',
'Topic :: Multimedia :: Graphics',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Sociology',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: User Interfaces',
'Topic :: Software Development :: Widget Sets',
'Topic :: System :: Distributed Computing'
],
project_urls = {
"Homepage": "https://www.graphistry.com",
"Repository": "https://github.com/graphistry/pygraphistry",
"Documentation": "https://pygraphistry.readthedocs.io/",
"Changelog": "https://github.com/graphistry/pygraphistry/blob/master/CHANGELOG.md",
"Issues": "https://github.com/graphistry/pygraphistry/issues",
"Funding": "https://www.graphistry.com",
"Download": "https://pypi.org/project/graphistry/#files",
"Slack": "https://graphistry-community.slack.com",
"Twitter": "https://twitter.com/graphistry",
"LinkedIn": "https://www.linkedin.com/company/graphistry",
"Contributing": "https://github.com/graphistry/pygraphistry/blob/master/CONTRIBUTING.md",
"License": "https://github.com/graphistry/pygraphistry/blob/main/LICENSE.txt",
"Code of Conduct": "https://github.com/graphistry/pygraphistry/blob/main/CODE_OF_CONDUCT.md",
"Support": "https://www.graphistry.com/support",
},
keywords=['cugraph', 'cudf', 'cuml', 'dask', 'Databricks', 'GFQL', 'GPU', 'Graph', 'graphviz', 'GraphX', 'Gremlin', 'igraph', 'Jupyter', 'Neo4j', 'Neptune', 'Network', 'NetworkX', 'Notebook', 'OpenSearch', 'Pandas', 'Plot', 'RAPIDS', 'RDF', 'Splunk', 'Spark', 'SQL', 'Tinkerpop', 'UMAP', 'Visualization', 'Torch', 'DGL', 'GNN']
)