memilio
memilio copied to clipboard
deprecation warning for editable install mode
Bug description
When building python in editable mode a deprecation warning occurs.
Version
Linux
To reproduce
- go to any python package
- 'pip install -e .'
Relevant log output
DEPRECATION: Legacy editable install of memilio-simulation==1.0.0 from file:///home/betz_mx/Project_Memilio/memilio/pycode/memilio-simulation (setup.py develop) is deprecated. pip 25.0 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at https://github.com/pypa/pip/issues/11457
Add any relevant information, e.g. used compiler, screenshots.
No response
Checklist
- [X] Attached labels, especially loc:: or model:: labels.
- [X] Linked to project
We should replace our setup.py with a pyproject.toml file (or at least add one).
https://packaging.python.org/en/latest/guides/modernize-setup-py-project/