Don't include setup_requires in package template
ngoldbaum opened this issue · 0 comments
ngoldbaum commented
Currently the template suggests using setup_requires:
I think this is a footgun, since setup_requires interacts badly with pip. In particular, it uses easy_install to install packages if they're needed. For pytest_runner this is probably harmless but for a package like numpy that normally comes in a wheel but easy_install will try to build from source this is a big deal. I don't think it's good practice to suggest using setup_requires, especially in something like cookiecutter which is aimed at non-expert python users.