-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
72 lines (64 loc) · 2.35 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
""" Setup of the quadruped-pend-gym package.
"""
from typing import List
import setuptools
_VERSION = "0.3.0"
# Short description.
short_description = "A gymnasium RL environment for balancing inverted pendulum on quadruped Unitree Go2"
# Packages needed for the environment to run.
# The compatible release operator (`~=`) is used to match any candidate version
# that is expected to be compatible with the specified version.
REQUIRED_PACKAGES = [
"gymnasium == 1.0.0",
"numpy ~= 1.24.4",
"numpy-quaternion ~= 2023.0.3",
"stable-baselines >= 2.4.0a5"
]
# Packages which are only needed for testing code.
TEST_PACKAGES = [
] # type: List[str]
# Loading the "long description" from the projects README file.
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="quadruped-pend-gym",
version=_VERSION,
author="Pulak Gautam",
author_email="[email protected]",
description=short_description,
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/pulak-gautam/quadruped-pend-gym",
# Contained modules and scripts:
packages=setuptools.find_packages(),
package_data={"quadruped-pend-gym": ["models/go2/*"]}, #TODO: add other quadruped models
install_requires=REQUIRED_PACKAGES,
tests_require=REQUIRED_PACKAGES + TEST_PACKAGES,
# PyPI package information:
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
python_requires=">=3.8",
keywords=' '.join([
"Quadruped-Pend"
"Gymnasium",
"Reinforcement-Learning",
"Reinforcement-Learning-Environment",
]),
entry_points={
'console_scripts': [
'quadruped_pend_gym = quadruped_pend_gym.stand_up:main',
],
},
)