forked from robotology-legacy/gym-ignition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
79 lines (76 loc) · 2.76 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
# Copyright (C) 2019 Istituto Italiano di Tecnologia (IIT). All rights reserved.
# This software may be modified and distributed under the terms of the
# GNU Lesser General Public License v2.1 or any later version.
import os
from setuptools import setup, find_packages
from cmake_build_extension import BuildExtension, CMakeExtension
# Read the contents of your README file
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='gym-ignition',
author="Diego Ferigo",
author_email="[email protected]",
description="Gym-Ignition: A toolkit for developing OpenAI Gym environments "
"simulated with Ignition Gazebo.",
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/robotology/gym-ignition',
keywords="openai gym reinforcement learning environment gazebo robotics ignition",
license="LGPL",
platforms='any',
classifiers=[
"Development Status :: 5 - Production/Stable",
"Operating System :: POSIX :: Linux",
"Topic :: Games/Entertainment :: Simulation",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Framework :: Robot Framework",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: C++",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)",
],
use_scm_version={
'local_scheme': 'dirty-tag',
},
setup_requires=['setuptools_scm'],
python_requires='>=3.8',
install_requires=[
'gym >= 0.13.1',
'numpy',
'gym_ignition_models',
'lxml',
'idyntree',
],
extras_require=dict(
website=[
"sphinx",
"sphinx-book-theme < 0.0.39",
"sphinx-autodoc-typehints",
"sphinx_fontawesome",
"sphinx-multiversion",
'sphinx-tabs',
"breathe",
],
test=[
"pytest",
"pytest-xvfb",
"pytest-icdiff",
]
),
packages=find_packages("python"),
package_dir={'': "python"},
ext_modules=[CMakeExtension(name='InstallAllTargets',
install_prefix="scenario",
cmake_build_type='PyPI',
cmake_depends_on=["idyntree"],
disable_editable=True)],
cmdclass={
'build_ext': BuildExtension,
},
zip_safe=False,
)