SimonBlanke / Hyperactive

An optimization and data collection toolbox for convenient and fast prototyping of computationally expensive models.
https://simonblanke.github.io/hyperactive-documentation
MIT License
512 stars 42 forks source link

[MNT] consider moving `requirements.txt` dependency sets into `pyproject.toml` PEP 631 conformant specifications #82

Closed fkiraly closed 2 months ago

fkiraly commented 2 months ago

Not a strong opinion and perhaps a matter of taste, but for consideration: pyproject.toml has syntax to manage multiple dependency sets, and as a more "standardized" alternative it is easier to read, as no links to other folders in the repo have to be followed to have all information in one place.

https://peps.python.org/pep-0631/

The concrete recommendation is to move all content from the requirements folder into equivalent sections, in pyproject.toml.

Related to https://github.com/SimonBlanke/Hyperactive/issues/73.

SimonBlanke commented 2 months ago

Done in 6a022c3