EvolutionGym / evogym

A large-scale benchmark for co-optimizing the design and control of soft robots, as seen in NeurIPS 2021.
https://evolutiongym.github.io/
MIT License
193 stars 33 forks source link

Use pip for installation #27

Closed d9w closed 3 months ago

d9w commented 1 year ago

python setup.py install is deprecated in favor of installation with pip. The use of setup.py appears to be responsible for compilation and linking errors with the simulator (#13). The proposed changes do the following:

jagdeepsb commented 3 months ago

Thanks for the pull -- I've simplified and cleaned up the build process in the latest version of evogym (2.0.0). In particular, evogym is now pip installable.

In my testing, I did not find it necessary to add cmake to the build system requirements in pyproject.toml. I can add it if you continue to experience issues!