On Sep 13, 2014, at 0:48, Pierre-Yves Chibon pingou@pingoured.fr wrote:
On Fri, Sep 12, 2014 at 03:04:31PM +1000, Arun Babu Neelicattu wrote:
On Thu, 2014-09-11 at 14:36 -0700, Garrett Cooper wrote:
Hello! I recently did a pip install of python-bugzilla, which installed 1.1.0, and when I tried running the bugzilla command it failed to execute because the requests module wasn't installed on my machine. Replacing requirements.txt with the following lines in setup.py should work:
install_requires=[ 'requests', ]
This might be the easiest fix for this. But this would mean we will have to keep *requirements.txt in sync with setup.py (not too big a deal).
We could also do something like this, https://github.com/abn/python-bugzilla/commit/b66ba937bbc182476d0d59d4fbdf36... (might be over kill considering we do not depend on much).
I just wanted to point out a possible other way to do it: https://github.com/fedora-infra/pkgdb2/blob/master/setup.py#L15
I added a comment to the commit: https://github.com/fedora-infra/pkgdb2/commit/69a724312e44737d0ad7567e7f6d6b... . Thank you, -Garrett