-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from ami-iit/feature/setup.cfg
Update setuptools files introducing `setup.cfg`
- Loading branch information
Showing
5 changed files
with
139 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
# Copyright (C) 2021 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. | ||
|
||
[build-system] | ||
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4", "ninja", "gym-ignition", "cmake>=3.18.2", "cmake-build-extension"] | ||
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
"wheel", | ||
"setuptools>=45", | ||
"setuptools_scm[toml]>=6.0", | ||
"cmake-build-extension", | ||
"scenario", | ||
] | ||
|
||
[tool.setuptools_scm] | ||
local_scheme = "dirty-tag" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# Copyright (C) 2021 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. | ||
|
||
[metadata] | ||
name = gazebo_scenario_plugins | ||
description = Plugins for the Ignition Gazebo simulator implemented with ScenarIO. | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
author = Diego Ferigo | ||
author_email = [email protected] | ||
license = LGPL | ||
license_file = LICENSE | ||
platforms = linux | ||
url = https://github.com/ami-iit/gazebo-scenario-plugins | ||
|
||
project_urls = | ||
Changelog = https://github.com/ami-iit/gazebo-scenario-plugins/releases | ||
Tracker = https://github.com/ami-iit/gazebo-scenario-plugins/issues | ||
Source = https://github.com/ami-iit/gazebo-scenario-plugins | ||
|
||
keywords = | ||
gazebo | ||
ignition | ||
simulation | ||
robotics | ||
plugin | ||
|
||
classifiers = | ||
Development Status :: 4 - Beta | ||
Operating System :: POSIX :: Linux | ||
Topic :: Games/Entertainment :: Simulation | ||
Topic :: Scientific/Engineering :: Physics | ||
Framework :: Robot Framework | ||
Intended Audience :: Developers | ||
Intended Audience :: Science/Research | ||
Programming Language :: C++ | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3 :: Only | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: Implementation :: CPython | ||
License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+) | ||
|
||
[options] | ||
zip_safe = False | ||
packages = find: | ||
package_dir = | ||
=python | ||
python_requires = >=3.8 | ||
|
||
[options.packages.find] | ||
where = python | ||
|
||
[options.extras_require] | ||
test = | ||
pytest | ||
pytest-icdiff | ||
numpy | ||
gym | ||
gym_ignition>=1.3.0 | ||
gym_ignition_models | ||
all = | ||
%(test)s | ||
|
||
[tool:pytest] | ||
addopts = -rsxX -v | ||
testpaths = tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,28 @@ | ||
# Copyright (C) 2020 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. | ||
|
||
from pathlib import Path | ||
from setuptools import setup, find_packages | ||
from cmake_build_extension import BuildExtension, CMakeExtension | ||
|
||
# Read the contents of the README file | ||
with open(Path(__file__).parent.absolute() / "README.md", encoding="utf-8") as f: | ||
long_description = f.read() | ||
import cmake_build_extension | ||
import setuptools | ||
|
||
setup( | ||
name="gazebo-scenario-plugins", | ||
author="Diego Ferigo", | ||
author_email="[email protected]", | ||
description="Plugins for the Ignition Gazebo simulator implemented with ScenarI/O", | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
url="https://github.com/dic-iit/gazebo-scenario-plugins", | ||
keywords="gazebo ignition simulation robotics plugin", | ||
license="LGPL", | ||
platforms=["linux"], | ||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"Operating System :: POSIX :: Linux", | ||
"Topic :: Games/Entertainment :: Simulation", | ||
"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=dict(local_scheme="dirty-tag"), | ||
python_requires='>=3.8', | ||
install_requires=[ | ||
"gym-ignition", | ||
], | ||
setup_requires=[ | ||
"cmake>=3.18.2", | ||
"setuptools_scm", | ||
"ninja", | ||
"gym-ignition", | ||
"cmake-build-extension", | ||
], | ||
packages=find_packages("python"), | ||
package_dir={'': "python"}, | ||
setuptools.setup( | ||
ext_modules=[ | ||
CMakeExtension(name="actuation_delay", | ||
source_dir=str(Path(".") / "plugins" / "actuation_delay"), | ||
install_prefix="gazebo_scenario_plugins", | ||
cmake_depends_on=["scenario"], | ||
disable_editable=True), | ||
CMakeExtension(name="low_pass_target", | ||
source_dir=str(Path(".") / "plugins" / "low_pass_target"), | ||
install_prefix="gazebo_scenario_plugins", | ||
cmake_depends_on=["scenario"], | ||
disable_editable=True), | ||
cmake_build_extension.CMakeExtension( | ||
name="actuation_delay", | ||
source_dir=str(Path(".") / "plugins" / "actuation_delay"), | ||
install_prefix="gazebo_scenario_plugins", | ||
cmake_depends_on=["scenario"], | ||
disable_editable=True, | ||
), | ||
cmake_build_extension.CMakeExtension( | ||
name="low_pass_target", | ||
source_dir=str(Path(".") / "plugins" / "low_pass_target"), | ||
install_prefix="gazebo_scenario_plugins", | ||
cmake_depends_on=["scenario"], | ||
disable_editable=True, | ||
), | ||
], | ||
cmdclass=dict(build_ext=BuildExtension), | ||
zip_safe=False, | ||
cmdclass=dict(build_ext=cmake_build_extension.BuildExtension), | ||
) |
This file was deleted.
Oops, something went wrong.