vizshine / python-twitter

Automatically exported from code.google.com/p/python-twitter
Apache License 2.0
0 stars 0 forks source link

Add install_requires to setup.py #181

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
>What steps will reproduce the problem?
1. Setup python-twitter modules using easy_install/buildout

>Please provide any additional information below.

python-twitter's setup.py does not have 'install_requires' parameter,
So I can't install dependency packages automatically; simplejson and oauth2

Please add install_requires attribute to setup.py to simplejson, oauth2 and 
httplib2.

Regards,

Original issue reported on code.google.com by i.tkomiya on 10 Jan 2011 at 4:52

GoogleCodeExporter commented 8 years ago
Also, once you have done this, please register the releases to PyPI. The 
information there is outdated. Preferably you should also upload the tgz there.

Original comment by rege...@gmail.com on 9 Feb 2011 at 11:55

GoogleCodeExporter commented 8 years ago
(Just for more explanation: python-twitter is used by other modules, like 
collective.twitterportlet. When you add dependencies, but forget to declare 
them in setup.py, updating a plone site will fail, since the new version of 
python-twitter can be installed, but the new dependencies are not. This then 
causes long debugging to figure out the problem and add the dependencies to the 
plone installation. 

If you declare your dependencies, this does not happen. Since httplib2 is a 
dependency of oauth2, and it does declare it, and python-twitter already 
declares simplejson as a dependency, you only need to add oauth2 as a 
dependency and it will work.

Original comment by rege...@gmail.com on 9 Feb 2011 at 12:00

GoogleCodeExporter commented 8 years ago

Original comment by bear42 on 20 Feb 2011 at 10:16

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
committed changeset 229:852991add8f2

Original comment by bear42 on 16 Apr 2011 at 9:49