Installing Pyramid for Mac OSX Lion

Pyramidインストールめも。

環境
OS Mac OSX 10.7.2
Python version 2.7.1

  • virtualenvインストール
$ sudo easy_install virtualenv
Password:
Searching for virtualenv
Reading http://pypi.python.org/simple/virtualenv/
Reading http://virtualenv.openplans.org
Reading http://www.virtualenv.org
Best match: virtualenv 1.7
Downloading http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.7.tar.gz#md5=dcc105e5a3907a9dcaa978f813a4f526
Processing virtualenv-1.7.tar.gz
Running virtualenv-1.7/setup.py -q bdist_egg --dist-dir /tmp/easy_install-5VUjDH/virtualenv-1.7/egg-dist-tmp-pUZ7Nd
warning: no previously-included files matching '*.*' found under directory 'docs/_templates'
Adding virtualenv 1.7 to easy-install.pth file
Installing virtualenv script to /usr/local/bin

Installed /Library/Python/2.7/site-packages/virtualenv-1.7-py2.7.egg
Processing dependencies for virtualenv
Finished processing dependencies for virtualenv
  • virtual 環境作成
$ virtualenv --no-site-packages env
The --no-site-packages flag is deprecated; it is now the default behavior.
New python executable in env/bin/python
Installing setuptools............done.
Installing pip...............done.
  • Pyramidインストール
$ ./bin/easy_install pyramid
Searching for pyramid
Reading http://pypi.python.org/simple/pyramid/
Reading http://pylonsproject.org
Reading http://docs.pylonshq.com
Reading http://docs.pylonsproject.org
Best match: pyramid 1.3a5
Downloading http://pypi.python.org/packages/source/p/pyramid/pyramid-1.3a5.tar.gz#md5=4a455ed485964e8bf57c7621f232b4a3
Processing pyramid-1.3a5.tar.gz
Running pyramid-1.3a5/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-oGY2OD/pyramid-1.3a5/egg-dist-tmp-uYp264
Adding pyramid 1.3a5 to easy-install.pth file
Installing ptweens script to /Users/******/Development/Python/env/bin
Installing proutes script to /Users/******/Development/Python/env/bin
Installing pshell script to /Users/******/Development/Python/env/bin
Installing prequest script to /Users/******/Development/Python/env/bin
Installing pviews script to /Users/******/Development/Python/env/bin
Installing bfg2pyramid script to /Users/******/Development/Python/env/bin
Installing pcreate script to /Users/******/Development/Python/env/bin
Installing pserve script to /Users/******/Development/Python/env/bin

Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/pyramid-1.3a5-py2.7.egg
Processing dependencies for pyramid
Searching for PasteDeploy>=1.5.0
Reading http://pypi.python.org/simple/PasteDeploy/
Reading http://pythonpaste.org/deploy/
Reading http://pythonpaste.org/deploy/paste-deploy.html
Best match: PasteDeploy 1.5.0
Downloading http://pypi.python.org/packages/source/P/PasteDeploy/PasteDeploy-1.5.0.tar.gz#md5=f1a068a0b680493b6eaff3dd7690690f
Processing PasteDeploy-1.5.0.tar.gz
Running PasteDeploy-1.5.0/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-hxm11Z/PasteDeploy-1.5.0/egg-dist-tmp-SyF34y
Adding PasteDeploy 1.5.0 to easy-install.pth file

Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg
Searching for translationstring>=0.4
Reading http://pypi.python.org/simple/translationstring/
Reading http://www.repoze.org
Best match: translationstring 0.4
Downloading http://pypi.python.org/packages/source/t/translationstring/translationstring-0.4.tar.gz#md5=392287923c475b660b7549b2c2f03dbc
Processing translationstring-0.4.tar.gz
Running translationstring-0.4/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-jlohWU/translationstring-0.4/egg-dist-tmp-b4VCjN
Adding translationstring 0.4 to easy-install.pth file

Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/translationstring-0.4-py2.7.egg
Searching for venusian>=1.0a1
Reading http://pypi.python.org/simple/venusian/
Best match: venusian 1.0a2
Downloading http://pypi.python.org/packages/source/v/venusian/venusian-1.0a2.tar.gz#md5=6ef80d161ba0c4ce8960f3e5b3f17966
Processing venusian-1.0a2.tar.gz
Running venusian-1.0a2/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-d5lCOd/venusian-1.0a2/egg-dist-tmp-NgtRs5
Adding venusian 1.0a2 to easy-install.pth file

Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/venusian-1.0a2-py2.7.egg
Searching for zope.deprecation>=3.5.0
Reading http://pypi.python.org/simple/zope.deprecation/
Best match: zope.deprecation 3.5.0
Downloading http://pypi.python.org/packages/source/z/zope.deprecation/zope.deprecation-3.5.0.tar.gz#md5=1e7db82583013127aab3e7e790b1f2b6
Processing zope.deprecation-3.5.0.tar.gz
Running zope.deprecation-3.5.0/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-_UVVbr/zope.deprecation-3.5.0/egg-dist-tmp-fJPrwq
Adding zope.deprecation 3.5.0 to easy-install.pth file

Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/zope.deprecation-3.5.0-py2.7.egg
Searching for zope.interface>=3.8.0
Reading http://pypi.python.org/simple/zope.interface/
Best match: zope.interface 3.8.0
Downloading http://pypi.python.org/packages/source/z/zope.interface/zope.interface-3.8.0.tar.gz#md5=8ab837320b4532774c9c89f030d2a389
Processing zope.interface-3.8.0.tar.gz
Running zope.interface-3.8.0/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-FpOKg5/zope.interface-3.8.0/egg-dist-tmp-GmT48o
src/zope/interface/_zope_interface_coptimizations.c: In function ‘__adapt__’:
src/zope/interface/_zope_interface_coptimizations.c:583: warning: implicit conversion shortens 64-bit value into a 32-bit value
src/zope/interface/_zope_interface_coptimizations.c: In function ‘_generations_tuple’:
src/zope/interface/_zope_interface_coptimizations.c:1312: warning: implicit conversion shortens 64-bit value into a 32-bit value
Adding zope.interface 3.8.0 to easy-install.pth file

Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/zope.interface-3.8.0-py2.7-macosx-10.7-intel.egg
Searching for repoze.lru>=0.4
Reading http://pypi.python.org/simple/repoze.lru/
Best match: repoze.lru 0.4
Downloading http://pypi.python.org/packages/source/r/repoze.lru/repoze.lru-0.4.tar.gz#md5=9f6ab7a4ff871ba795cadf56c20fb0f0
Processing repoze.lru-0.4.tar.gz
Running repoze.lru-0.4/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-vIQLlx/repoze.lru-0.4/egg-dist-tmp-Fm7C4x
Adding repoze.lru 0.4 to easy-install.pth file

Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/repoze.lru-0.4-py2.7.egg
Searching for WebOb>=1.2dev
Reading http://pypi.python.org/simple/WebOb/
Reading http://pythonpaste.org/webob/
Reading http://webob.org/
Best match: WebOb 1.2b2
Downloading http://pypi.python.org/packages/source/W/WebOb/WebOb-1.2b2.zip#md5=1b6795baf23f6c1553186a0a8b1a2621
Processing WebOb-1.2b2.zip
Running WebOb-1.2b2/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-FHFA8X/WebOb-1.2b2/egg-dist-tmp-wYsvK7
no previously-included directories found matching '*.pyc'
no previously-included directories found matching '*.pyo'
Adding WebOb 1.2b2 to easy-install.pth file

Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/WebOb-1.2b2-py2.7.egg
Searching for Mako>=0.3.6
Reading http://pypi.python.org/simple/Mako/
Reading http://www.makotemplates.org/
Best match: Mako 0.5.0
Downloading http://pypi.python.org/packages/source/M/Mako/Mako-0.5.0.tar.gz#md5=2726f95d223fb53120fbb82cd4acb064
Processing Mako-0.5.0.tar.gz
Running Mako-0.5.0/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-gmMQSB/Mako-0.5.0/egg-dist-tmp-RYbfFO
warning: no files found matching '*.xml' under directory 'examples'
warning: no files found matching '*.mako' under directory 'examples'
warning: no files found matching 'ez_setup.py'
no previously-included directories found matching 'doc/build/output'
Adding Mako 0.5.0 to easy-install.pth file
Installing mako-render script to /Users/******/Development/Python/env/bin

Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/Mako-0.5.0-py2.7.egg
Searching for Chameleon>=1.2.3
Reading http://pypi.python.org/simple/Chameleon/
Reading http://chameleon.repoze.org
Reading http://www.pagetemplates.org/
Best match: Chameleon 2.7.2
Downloading http://pypi.python.org/packages/source/C/Chameleon/Chameleon-2.7.2.tar.gz#md5=40577e8db4c99b4d88c5c809f964c739
Processing Chameleon-2.7.2.tar.gz
Running Chameleon-2.7.2/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-bGbdtO/Chameleon-2.7.2/egg-dist-tmp-nC25tB
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz
Extracting in /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-bGbdtO/Chameleon-2.7.2/temp/tmpvN0s9z
Now working in /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-bGbdtO/Chameleon-2.7.2/temp/tmpvN0s9z/distribute-0.6.14
Building a Distribute egg in /private/var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-bGbdtO/Chameleon-2.7.2
/private/var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-bGbdtO/Chameleon-2.7.2/distribute-0.6.14-py2.7.egg
Adding Chameleon 2.7.2 to easy-install.pth file

Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/Chameleon-2.7.2-py2.7.egg
Searching for MarkupSafe>=0.9.2
Reading http://pypi.python.org/simple/MarkupSafe/
Reading http://dev.pocoo.org/
Best match: MarkupSafe 0.15
Downloading http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-0.15.tar.gz#md5=4e7c4d965fe5e033fa2d7bb7746bb186
Processing MarkupSafe-0.15.tar.gz
Running MarkupSafe-0.15/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-HbMIZM/MarkupSafe-0.15/egg-dist-tmp-rNv1SC
Adding MarkupSafe 0.15 to easy-install.pth file

Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/MarkupSafe-0.15-py2.7-macosx-10.7-intel.egg
Finished processing dependencies for pyramid

参考:http://docs.pylonsproject.org/projects/pyramid/en/1.0-branch/narr/install.html