Thursday, December 9, 2010

Installing easy_install on a shared hosting account

These are the steps I took to setup easy_install on a shared hosting account (in this case bluehost). They only have python 2.4, but it worked.

echo "export PYTHONPATH=~/tools:$PYTHONPATH" >> ~/.bash_profile
echo "export PATH=~/tools:$PATH" >> ~/.bash_profile
source ~/.bash_profile
mkdir ~/tools
wget http://peak.telecommunity.com/dist/ez_setup.py
python ez_setup.py --install-dir ~/tools/

Then I was able to install Pyramid

easy_install --install-dir ~/tools virtualenv
virtualenv --no-site-packages env
cd env
bin/easy_install pyramid

So the question is, can I get wsgi working on this host?

No comments:

Sign up for my upcoming Plone 5 Book & Video tutorials

plone 5 for newbies book and videos