Skip to content

Instantly share code, notes, and snippets.

@tmvst
Created July 15, 2013 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmvst/5999552 to your computer and use it in GitHub Desktop.
Save tmvst/5999552 to your computer and use it in GitHub Desktop.
Instalacia Python 3 a Pyramid 1.4 na Mountain Lion
brew install python3
curl -O http://python-distribute.org/distribute_setup.py
sudo python3 distribute_setup.py
curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
sudo python3 get-pip.py
# .bash_profile
export PATH=/Library/Frameworks/Python.framework/Versions/3.3/bin:$PATH
sudo pip install virtualenv
sudo pip install virtualenvwrapper
# vytvorenie projektu
virtualenv --python=python3 env
source env/bin/activate
bin/pip install pyramid
bin/pcreate -s starter TestProj
cd TestProj
python setup.py develop
pserve development.ini --reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment