Comment 6 for bug 1661218

Revision history for this message
frenzy (frenzy-madness) wrote :

Hello.

I also have some troubles because of this bug.

Actually, it doesn't matter if you define your dependencies in setup.py directly or you will read them from requirements file. The important part is to define all dependencies which should be installed together with pylibravatar in setup.py with install_requires.

As you can see in setuptools docs [0], requires kwarg is only for metadata and it doesn't make setuptools to do anything different. What you need to specify is install_requires kwarg as mentioned in the docs as well [1].

So, to fix this problem, change `requires = requires,` to `install_requires = requires,` in setup.py on line 19.

Could you please try this fix and release a new version? Let me know if I can help you with anything.

Thank you and have a nice day.

[0] https://setuptools.readthedocs.io/en/latest/setuptools.html#metadata
[1] https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords
[2] https://git.launchpad.net/pylibravatar/tree/setup.py