-
Notifications
You must be signed in to change notification settings - Fork 116
/
setup.py
74 lines (65 loc) · 2.02 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
#!/usr/bin/env python
import os
from setuptools import find_packages, setup
with open(os.path.join("gym_donkeycar", "version.txt")) as file_handler:
__version__ = file_handler.read().strip()
description = "OpenAI Gym Environments for Donkey Car"
with open("README.md") as readme_file:
readme = readme_file.read()
with open("HISTORY.rst") as history_file:
history = history_file.read()
# gym 0.23 introduces breaking changes
requirements = ["gym==0.22", "numpy", "pillow"]
setup(
name="gym_donkeycar",
author="Tawn Kramer",
author_email="[email protected]",
python_requires=">=3.7",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
description=description,
install_requires=requirements,
extras_require={
"tests": [
# Run tests and coverage
"pytest",
"pytest-mock",
"pytest-cov",
"pytest-env",
"pytest-xdist",
# Type check
"pytype",
# Lint code
"ruff",
# Sort imports
"isort>=5.0",
# Reformat
"black",
],
"docs": [
"sphinx",
"sphinx-autobuild",
"sphinx-rtd-theme",
# For spelling
"sphinxcontrib.spelling",
# Type hints support
"sphinx-autodoc-typehints",
],
},
license="MIT license",
long_description=readme + "\n\n" + history,
include_package_data=True,
keywords="donkeycar, environment, agent, rl, openaigym, openai-gym, gym",
packages=find_packages(),
url="https://github.com/tawnkramer/gym-donkeycar",
version=__version__,
zip_safe=False,
)