Installation¶
This part of documentation describes installation of pyoauth2.
pip & easy_install¶
Python has several package management tools, and the most famous ones are pip and easy_install. Of course pyoauth2 can be installed with these tools. You can simply run following command on your console.
$ pip install pyoauth2
or
$ easy_install pyoauth2
From the code¶
pyoauth2 is developed on GitHub and the code is always open to everyone.
You can install pyoauth2 from the latest source code with pip or setup.py
In the case of pip, you can specify target URL to the GitHub repository with -e
option:
$ pip install -e git+https://ymotongpoo@github.com/ymotongpoo/pyoauth2.git#egg=pyoauth2
Otherwise, simply download source code in zip archive or fetch repository using Git, and run setup.py
script.
$ curl -OL "https://github.com/ymotongpoo/pyoauth2/zipball/master" -o pyoauth2.zip
$ unzip pyoauth2.zip
$ cd pyoauth2
$ python setup.py install