-
Notifications
You must be signed in to change notification settings - Fork 36
/
setup.py
118 lines (108 loc) · 3.61 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
#!/usr/bin/env python
"""The setup script."""
from setuptools import find_packages, setup
with open("README.md", encoding="utf-8") as readme_file:
readme = readme_file.read()
with open("HISTORY.md", encoding="utf-8") as history_file:
history = history_file.read()
# NOTE: Update pinned_reqs whenever install_requires or extras_require changes.
install_requires = [
# numpy>=1.17.0 is when default_rng becomes available;
# scikit-learn 1.1.0 requires numpy 1.17.3+
"numpy>=1.17.3",
"numpy_groupies>=0.9.16", # Supports Python 3.7 and up.
"numba>=0.51.0",
"pandas>=1.0.0",
"sortedcontainers>=2.0.0", # Primarily used in SlidingBoundariesArchive.
"scikit-learn>=1.1.0", # Primarily used in CVTArchive.
"scipy>=1.7.0", # Primarily used in CVTArchive.
"threadpoolctl>=3.0.0",
]
extras_require = {
"visualize": [
"matplotlib>=3.0.0",
"shapely>=2.0.0",
],
"pycma": ["cma"],
# All dependencies except for dev. Don't worry if there are duplicate
# dependencies, since setuptools automatically handles duplicates.
"all": [
### visualize ###
"matplotlib>=3.0.0",
"shapely>=2.0.0",
### cma ###
"cma",
],
"dev": [
"pip>=20.3",
"pylint",
"yapf",
"pre-commit",
# Testing
"python-box[all]~=7.0",
"pytest==7.0.1",
"pytest-cov==3.0.0",
"pytest-benchmark==3.4.1",
"pytest-xdist==2.5.0",
# Documentation
"myst-nb==0.17.1",
"Sphinx==4.5.0",
"sphinx-autobuild==2021.3.14",
"sphinx-autodoc-typehints==1.18.2",
"sphinx-codeautolink==0.12.1",
"sphinx-copybutton==0.3.1",
"sphinx-jinja2-compat==0.2.0",
"sphinx-material==0.0.32",
"sphinx-prompt==1.5.0",
"sphinx-tabs==3.3.1",
"sphinx-toolbox==3.1.0",
"sphinxcontrib-applehelp==1.0.4",
"sphinxcontrib-devhelp==1.0.2",
"sphinxcontrib-htmlhelp==2.0.1",
"sphinxcontrib-jsmath==1.0.1",
"sphinxcontrib-qthelp==1.0.3",
"sphinxcontrib-serializinghtml==1.1.5",
# Distribution
"bump2version==1.0.1",
"wheel==0.40.0",
"twine==4.0.2",
"check-wheel-contents==0.4.0",
],
}
setup(
author="ICAROS Lab pyribs Team",
author_email="team@pyribs.org",
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.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
description=
"A bare-bones Python library for quality diversity optimization.",
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="ribs",
name="ribs",
packages=find_packages(include=["ribs", "ribs.*"]),
python_requires=">=3.8.0",
test_suite="tests",
url="https://github.com/icaros-usc/pyribs",
version="0.7.1",
zip_safe=False,
)