How to add oauth2 package to Eclipse pydev?

I'm attempting to install the oauth2 package from https://pypi.python.org/pypi/oauth2/

This file is (oauth2-1.5.211.tar.gz) .tar.gz format but to add a new library to pydev I need to a .zip or .egg file :

How can I add this file or an alternative oauth2 library to my pydev installation ?

Answers


To get working use following steps :

install easy_installer :

more info here : http://peak.telecommunity.com/DevCenter/EasyInstall This site should offer a link to https://pypi.python.org/pypi/setuptools#windows which contains the easy_installer exe

Once installed ensure the Scripts dir is on your System path, for me this is :

C:\Python27\Scripts

Generate the .egg file by running this command dir where oauth2 (where setup.py is located after extracting the downloaded the oauth2 file) is installed :

python setup.py install

This should generate the .egg file in 'dist' folder which you can then add via Eclipse UI.

Note : if using 7zip may need to extract download .ta.gz twice, (once on download file and again on generated extracted file) in order to generate python setup files


Need Your Help

Speeding up Fourier-related transform computations in python (OpenCV)

python opencv python-2.7 image-processing fft

I have an image and I need to compute a fourier-related transform over it called Short Time Fourier Transform (for extra mathematical info

PHP/MySQL: How to save or insert the selected radio buttons in a database?

php mysql insert radio-button save

I have a table having n rows. Each row has a name [came from an Excel file] and 2 sets of radio buttons. How should I save or insert the selected radio buttons in a database?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.