Installing a package with pydeploy is as easy as it gets:
pydeploy install <package>
package can be either one of:
Note
if you would like the package to be installed in a virtual environment (with virtualenv), you can use the –env=path flag to point it to your virtual environment directory.
In some cases pydeploy is used to run a file which dictates what steps are to be done. In this case you should just do:
pydeploy run <file>
file can be either:
Note
the –env flag exists for the run command as well. It will execute the file in the context of the virtual environment specified. See the next chapter for more details.
On hosts that don’t have pydeploy installed (and perhaps installation is an issue due to permissions), a bootstrapper for pydeploy is available online:
wget https://github.com/vmalloc/pydeploy/raw/master/scripts/bootstrapper.py
python bootstrapper.py <args>
Where args are the argument you would pass to pydeploy. You can even do this in one line:
curl https://github.com/vmalloc/pydeploy/raw/master/scripts/bootstrapper.py | python - <args>
Or even shorter:
curl -L bit.ly/ilTVUN | python - <args>