1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
=============
Installation
=============
Using pip
---------
The best way to install PyPump is via pip, if you haven't, setup::
$ virtualenv path/to/virtualenv
$ source path/to/virtualenv/bin/activate
$ pip install pypump
If you get an error which looks like::
Could not find a version that satisfies the requirement pypump (from versions: 0.1.2a-, 0.1.5a, 0.1.3a-, 0.1.4a, 0.1.1a, 0.1.6a, 0.1.7a, 0.1.8a, 0.1.9a, 0.2, 0.1a)
Cleaning up...
No distributions matching the version for pypump
You need to specify the latest version, for example::
$ pip install pypump==0.2
Using git
---------
.. Warning:: The code on git may break, the code on pip is likely to be much more stable
You can if you want the latest and greatest use the copy on git, to do this execute::
$ git clone https://github.com/xray7224/PyPump.git
$ cd PyPump
$ virtualenv .vt_env && . .vt_env/bin/activate
$ pip install requests oauthlib requests-oauthlib
To keep this up to date use the following command inside the PyPump folder::
$ git pull
|