Closed anntzer closed 1 year ago
Hi! Thanks a lot for the involvement.
Yes, it would be best to include pytest and mock as extras, the setup.py
should definetly have a dev
extra, but I think it would be better to keep the main requirements
as a textfile than hardcode its contents in setup.py
.
actually the setup already has a dev
extra (had to check again), it's just that requirements
needlessly duplicates those dependencies. What if we just removed those two lines from requirements
?
Works for me too; done.
They are only needed in a dev environment, not for end users.
(Note that there are various ways in which one could avoid the duplication between install_requires and the requirements file, e.g. splitting out the dev requirements in a separate requirements file, but I just went for the simpler and more practical approach here.)