Closed maxpowa closed 9 years ago
This looks correct to me, but I want @embolalia's approval before merging.
Actually right now its still not correct. This just fixes pip going through, the drawback is that it now won't download sopel/dependencies in dependencies.txt . I don't know enough about setuptools/pip to properly fix that part without having sopel & other deps listed directly in setup.py On Oct 20, 2015 2:08 PM, "Elad Alfassa" notifications@github.com wrote:
This looks correct to me, but I want @embolalia https://github.com/embolalia's approval before merging.
— Reply to this email directly or view it on GitHub https://github.com/sopel-irc/sopel-cookiecutter/pull/2#issuecomment-149703786 .
It seems the actual solution is to remove requires=
and not install_requires=
. Of course, this is documented absolutely nowhere. Thanks for catching this, @maxpowa.
When attempting to
pip install .
https://github.com/maxpowa/sopel-idlerpg a simple module created by cookiecutter, it appears to throw the ValueError when collecting the requirements.txt values.If I wrap the versions in parentheses like it asks, I get another error claiming invalid version number '7'.
If I change the requirements.txt to be
sopel(>=6.0,<7.0)
, then it gives meRemoving the
install_requires=requirements
from line 40 of the setup.py appeared to be the only way to resolve this.On another note, since sopel_modules is a Namespace Package, it's supposed to have a very specific string in its
__init__.py
. I've included this change as well.