On ubuntu 13.10:

(you should have python3.3 installed already, it comes default)

  1. wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ezsetup.py -O - | sudo python3.3 2. easyinstall-3.3 virtualenv 3. virtualenv --no-setuptools --always-copy virtrepo/ 4. wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | virtrepo/bin/python3.3 5. cd virtrepo/ 6. ./easy-install pip 7. ./pip install Pyramid==1.5a4 8. virtualenv-3.3 --relocatable ../

Breakdown:
We get the latest easy-setup, install it, install the virtualenv package, create our virtualenv in a directory “virtrepo”, grab easy-setup for this new env, install pip in it, and use pip to install pyramid. We finally create relative paths in all our files so nothing is reliant in the system we built the virtualenv on.

Blog Logo

Mario Loria


Published

Image

./scriptthe.net

Because 127.0.0.1 gets old after a while.

Back to Overview