-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
93 lines (87 loc) · 2.74 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
#!/usr/bin/env python
"""The setup script."""
from setuptools import find_packages, setup
with open("README.md") as readme_file:
readme = readme_file.read()
with open("HISTORY.md") as history_file:
history = history_file.read()
# TODO(btjanaka): Figure out what deps need to go in the readthedocs config.
install_requires = [
"numpy>=1.20.0", # >=1.20.0 is when numpy.typing becomes available.
"gymnasium>=0.26.0",
]
extras_require = {
"torch": [
# TODO(ryanboldi): Specify versions here.
"torch",
],
"jax": [
# TODO(looka): Specify versions here.
"jax",
"jaxlib",
],
# All dependencies except for dev. Don't worry if there are duplicate
# dependencies, since setuptools automatically handles duplicates.
"all": [
# TODO: Specify all dependencies here.
],
"dev": [
"pip>=20.3",
"pylint",
"black>=23.1.0",
"isort",
"pre-commit",
# Testing
"pytest==7.0.1",
"pytest-cov==3.0.0",
"pytest-benchmark==3.4.1",
"pytest-xdist==2.5.0",
# Documentation
"mkdocs==1.4.3",
"mkdocs-material==9.1.19",
"mkdocstrings[python]==0.22.0",
"mkdocs-gen-files==0.5.0",
"mkdocs-literate-nav==0.6.0",
# Distribution
"bump2version==1.0.1",
"wheel==0.40.0",
"twine==4.0.2",
"check-wheel-contents==0.4.0",
],
}
setup(
author="QDGlue team",
author_email="[email protected]",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
description="QD Glue Benchmarking Suite",
install_requires=install_requires,
extras_require=extras_require,
license="MIT license",
long_description=readme + "\n\n" + history,
long_description_content_type="text/markdown",
include_package_data=True,
keywords="qdglue",
name="qdglue",
packages=find_packages(include=["qdglue", "qdglue.*"]),
python_requires=">=3.7.0",
test_suite="tests",
url="https://github.com/qdglue/qdglue",
version="0.0.0",
zip_safe=False,
)