-
Notifications
You must be signed in to change notification settings - Fork 94
/
setup.py
100 lines (94 loc) · 2.57 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
# mypy: disable-error-code="no-untyped-call"
"""Setup script for the GraphNeT package."""
from setuptools import setup, find_packages
import versioneer
# Requirements definitions
SETUP_REQUIRES = [
"setuptools>=59.5.0",
]
INSTALL_REQUIRES = [
"awkward>=1.8,<2.0",
"colorlog>=6.6",
"configupdater",
"dill>=0.3",
"matplotlib>=3.5",
"numpy>=1.22,<2.0",
"pandas>=1.3",
"pyarrow",
"pydantic",
"ruamel.yaml",
"scikit_learn>=1.0",
"scipy>=1.7",
"sqlalchemy>=1.4",
"timer>=0.2",
"tqdm>=4.64",
"wandb>=0.12",
"polars >=0.19",
"torchscale==0.2.0",
"h5py>= 3.7.0",
]
EXTRAS_REQUIRE = {
"develop": [
"black",
"coverage",
"docformatter",
"MarkupSafe<=2.1",
"mypy",
"myst-parser",
"pre-commit<4.0",
"pydocstyle",
"pylint",
"pytest",
"pytest-order",
"sphinx",
"sphinx-material",
"sphinx-autodoc-typehints",
"versioneer",
],
"torch": [
"torch>=2.1,<2.3",
"torch-cluster>=1.6",
"torch-scatter>=2.0",
"torch-sparse>=0.6",
"torch-geometric>=2.3",
"pytorch-lightning>=2.0",
],
}
# https://pypi.org/classifiers/
CLASSIFIERS = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Environment :: CPU",
"Environment :: GPU",
"License :: OSI Approved :: Apache Software License",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
setup(
name="graphnet",
version=versioneer.get_version(),
description=(
"A common library for using graph neural networks (GNNs) in neutrino "
"telescope experiments."
),
license="Apache 2.0",
author="The GraphNeT development team",
url="https://github.com/graphnet-team/graphnet",
cmdclass=versioneer.get_cmdclass(),
packages=find_packages(where="src"),
package_dir={"": "src"},
setup_requires=SETUP_REQUIRES,
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
classifiers=CLASSIFIERS,
)