python2.7 開発環境構築


head -n1 /etc/issue

CentOS release 6.4 (Final)

yum install python-setuptools
easy_install pip
pip freeze

distribute==0.6.10
iniparse==0.3.1
pycurl==7.19.0
pygpgme==0.1
urlgrabber==3.9.1
yum-metadata-parser==1.1.2

pip install ipython
pip install virtualenv
virtualenv --python /usr/local/bin/python2.7 --no-site-pakages ~/virtualenv/python27

開発環境へ切替
source ~/virtualenv/python27/bin/activate
pip freeze

wsgiref==0.1.2

開発環境から抜ける
deactivate
pip freeze

distribute==0.6.10
iniparse==0.3.1
ipython==0.13.2
pycurl==7.19.0
pygpgme==0.1
urlgrabber==3.9.1
virtualenv==1.9.1
yum-metadata-parser==1.1.2

wget http://peak.telecommunity.com/dist/ez_setup.py
python2.7 ./ez_setup.py