robotology / gym-ignition

Framework for developing OpenAI Gym robotics environments simulated with Ignition Gazebo
https://robotology.github.io/gym-ignition
GNU Lesser General Public License v3.0
227 stars 26 forks source link

Move content from `setup.py` to `setup.cfg` #355

Closed diegoferigo closed 3 years ago

diegoferigo commented 3 years ago

Recently, in the python packaging world, after PEP517 and PEP518 (what they are), also setup.cfg-only projects became a thing. This is also known as minimal setup.py.

Unfortunately, we cannot entirely remove setup.py since the PE517 does not support editable installations, and in any case I couldn't find any alternative of specifying build extensions like we need to compile the CMake project. However, we can move most of the content to setup.cfg.

There are different advantages:

Here below the official documentation and some example from which we can get check their implementation:

diegoferigo commented 3 years ago

Closed via #364