tBuLi / symfit

Symbolic Fitting; fitting as it should be.
http://symfit.readthedocs.org
MIT License
233 stars 17 forks source link

Update requirements.txt #316

Closed Jhsmit closed 3 years ago

Jhsmit commented 3 years ago

Addded setuptools (pkg_resources) requirement and removed py2 requirements

pckroon commented 3 years ago

Setuptools and pbr are already listed as requirements in https://github.com/tBuLi/symfit/blob/master/setup.py#L4. Why is this needed?

Jhsmit commented 3 years ago

This is because setuptools is not only needed for setup, but also runtime. Its used in __init__ to set __version__ as well as in printing: https://github.com/tBuLi/symfit/blob/7399494caac1b4e48611ca8c71a088c34544f737/symfit/core/printing.py#L9