surjit / oauth

Automatically exported from code.google.com/p/oauth
0 stars 0 forks source link

[PATCH] oauth python bindings should be setuptoolized #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
At present, the oauth python library is not setuptoolized, and thus cannot 
be built as an egg, managed via setuptools, or uploaded to PyPi for 
automatic installation (ie. via "easy_install oauth").

The attached svn diff output describes a patch which setuptoolizes the 
oauth bindings, such that all these things are possible. (Take care -- it 
includes changes to the svn:ignore revprops and removal of the unnecessary 
__init__.py file, and thus can't simply be applied via "patch"; it appears 
that svn lacks an equivalent to bzr bundle support, so I don't see a way to 
create a patch which represents all these changes and can be automatically 
applied).

Original issue reported on code.google.com by charles....@gmail.com on 2 Dec 2008 at 3:49

Attachments:

GoogleCodeExporter commented 9 years ago
Note the patch in question was generated on win32, and accordingly has DOS line 
endings. (Embarassing, admittedly -- I blame the wife's The Sims 2 habit for 
having a 
Windows box around the house).

Original comment by charles....@gmail.com on 2 Dec 2008 at 3:51

GoogleCodeExporter commented 9 years ago
The previous patch didn't work properly (it built an egg, but with incorrect 
contents).

The new version requires moving files around. As svn doesn't have a good way to 
help 
noncommiters to create patches which do this, please see the attached zip file 
[which 
is, as its name implies, taken from a modified version of r816], and take as 
given 
the svn:ignore changes given in the previous build. (the attached zip file was 
automatically generated via "python setup.py sdist"; PKG-INFO, *.egg-info, and 
setup.cfg are generated by distutils during the build process; as such, they 
should 
be referenced in svn:ignore property and not checked into the source tree).

Original comment by charles....@gmail.com on 2 Dec 2008 at 4:32

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks all. Andy Smith (andyster) updated the python lib to contain a setup.py 
in r819.

http://code.google.com/p/oauth/source/diff?spec=svn819&r=819&format=side&path=/c
ode/python/setup.py

Original comment by leah.culver on 14 Jan 2009 at 9:28