pyramidを使用してwebアプリケーション作成 2 〜プロジェクト作成〜
- pcreateコマンドでプロジェクト作成 ※プロジェクト名はtutorial
$ ./bin/pcreate -s starter tutorial Creating directory /Users/******/Development/Python/env/tutorial Recursing into +package+ Creating /Users/******/Development/Python/env/tutorial/tutorial/ Copying __init__.py to /Users/******/Development/Python/env/tutorial/tutorial/__init__.py Recursing into static Creating /Users/******/Development/Python/env/tutorial/tutorial/static/ Copying favicon.ico to /Users/******/Development/Python/env/tutorial/tutorial/static/favicon.ico Copying footerbg.png to /Users/******/Development/Python/env/tutorial/tutorial/static/footerbg.png Copying headerbg.png to /Users/******/Development/Python/env/tutorial/tutorial/static/headerbg.png Copying ie6.css to /Users/******/Development/Python/env/tutorial/tutorial/static/ie6.css Copying middlebg.png to /Users/******/Development/Python/env/tutorial/tutorial/static/middlebg.png Copying pylons.css to /Users/******/Development/Python/env/tutorial/tutorial/static/pylons.css Copying pyramid-small.png to /Users/******/Development/Python/env/tutorial/tutorial/static/pyramid-small.png Copying pyramid.png to /Users/******/Development/Python/env/tutorial/tutorial/static/pyramid.png Copying transparent.gif to /Users/******/Development/Python/env/tutorial/tutorial/static/transparent.gif Recursing into templates Creating /Users/******/Development/Python/env/tutorial/tutorial/templates/ Copying mytemplate.pt to /Users/******/Development/Python/env/tutorial/tutorial/templates/mytemplate.pt Copying tests.py_tmpl to /Users/******/Development/Python/env/tutorial/tutorial/tests.py Copying views.py_tmpl to /Users/******/Development/Python/env/tutorial/tutorial/views.py Copying CHANGES.txt_tmpl to /Users/******/Development/Python/env/tutorial/CHANGES.txt Copying MANIFEST.in_tmpl to /Users/******/Development/Python/env/tutorial/MANIFEST.in Copying README.txt_tmpl to /Users/******/Development/Python/env/tutorial/README.txt Copying development.ini_tmpl to /Users/******/Development/Python/env/tutorial/development.ini Copying production.ini_tmpl to /Users/******/Development/Python/env/tutorial/production.ini Copying setup.cfg_tmpl to /Users/******/Development/Python/env/tutorial/setup.cfg Copying setup.py_tmpl to /Users/******/Development/Python/env/tutorial/setup.py Welcome to Pyramid. Sorry for the convenience.
tutorialプロジェクトが作成された。
- tutorialディレクトリに移動して
$ ../bin/python setup.py develop running develop running egg_info creating tutorial.egg-info writing requirements to tutorial.egg-info/requires.txt writing tutorial.egg-info/PKG-INFO writing top-level names to tutorial.egg-info/top_level.txt writing dependency_links to tutorial.egg-info/dependency_links.txt writing entry points to tutorial.egg-info/entry_points.txt writing manifest file 'tutorial.egg-info/SOURCES.txt' reading manifest file 'tutorial.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.rst' warning: no files found matching '*.jpg' under directory 'tutorial' warning: no files found matching '*.txt' under directory 'tutorial' warning: no files found matching '*.mak' under directory 'tutorial' warning: no files found matching '*.mako' under directory 'tutorial' warning: no files found matching '*.js' under directory 'tutorial' warning: no files found matching '*.html' under directory 'tutorial' warning: no files found matching '*.xml' under directory 'tutorial' writing manifest file 'tutorial.egg-info/SOURCES.txt' running build_ext Creating /Users/******/Development/Python/env/lib/python2.7/site-packages/tutorial.egg-link (link to .) Adding tutorial 0.0 to easy-install.pth file Installed /Users/******/Development/Python/env/tutorial Processing dependencies for tutorial==0.0 Searching for waitress Reading http://pypi.python.org/simple/waitress/ Reading https://github.com/Pylons/waitress Reading https://github.com/mcdonc/waitress Best match: waitress 0.7 Downloading http://pypi.python.org/packages/source/w/waitress/waitress-0.7.tar.gz#md5=750d2f8eaba81ce47435d962b414b561 Processing waitress-0.7.tar.gz Running waitress-0.7/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-tXCKgJ/waitress-0.7/egg-dist-tmp-wSOIzc Adding waitress 0.7 to easy-install.pth file Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/waitress-0.7-py2.7.egg Searching for pyramid-debugtoolbar Reading http://pypi.python.org/simple/pyramid_debugtoolbar/ Reading http://docs.pylonsproject.org Best match: pyramid-debugtoolbar 0.9.8 Downloading http://pypi.python.org/packages/source/p/pyramid_debugtoolbar/pyramid_debugtoolbar-0.9.8.tar.gz#md5=a83133089d3580e0ae3e453b6bd07b91 Processing pyramid_debugtoolbar-0.9.8.tar.gz Running pyramid_debugtoolbar-0.9.8/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-MveTGG/pyramid_debugtoolbar-0.9.8/egg-dist-tmp-F6DPrY Adding pyramid-debugtoolbar 0.9.8 to easy-install.pth file Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/pyramid_debugtoolbar-0.9.8-py2.7.egg Searching for Pygments Reading http://pypi.python.org/simple/Pygments/ Reading http://pygments.org/ Reading http://pygments.pocoo.org/ Best match: Pygments 1.4 Downloading http://pypi.python.org/packages/2.7/P/Pygments/Pygments-1.4-py2.7.egg#md5=acbdde4dae30efaba8cfa86dcb6070f2 Processing Pygments-1.4-py2.7.egg creating /Users/******/Development/Python/env/lib/python2.7/site-packages/Pygments-1.4-py2.7.egg Extracting Pygments-1.4-py2.7.egg to /Users/******/Development/Python/env/lib/python2.7/site-packages Adding Pygments 1.4 to easy-install.pth file Installing pygmentize script to /Users/******/Development/Python/env/bin Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/Pygments-1.4-py2.7.egg Searching for pyramid==1.3a5 Best match: pyramid 1.3a5 Processing pyramid-1.3a5-py2.7.egg pyramid 1.3a5 is already the active version in easy-install.pth 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 Using /Users/******/Development/Python/env/lib/python2.7/site-packages/pyramid-1.3a5-py2.7.egg Searching for setuptools==0.6c11 Best match: setuptools 0.6c11 Processing setuptools-0.6c11-py2.7.egg setuptools 0.6c11 is already the active version in easy-install.pth Installing easy_install script to /Users/******/Development/Python/env/bin Installing easy_install-2.7 script to /Users/******/Development/Python/env/bin Using /Users/******/Development/Python/env/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg Searching for PasteDeploy==1.5.0 Best match: PasteDeploy 1.5.0 Processing PasteDeploy-1.5.0-py2.7.egg PasteDeploy 1.5.0 is already the active version in easy-install.pth Using /Users/******/Development/Python/env/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg Searching for translationstring==0.4 Best match: translationstring 0.4 Processing translationstring-0.4-py2.7.egg translationstring 0.4 is already the active version in easy-install.pth Using /Users/******/Development/Python/env/lib/python2.7/site-packages/translationstring-0.4-py2.7.egg Searching for venusian==1.0a2 Best match: venusian 1.0a2 Processing venusian-1.0a2-py2.7.egg venusian 1.0a2 is already the active version in easy-install.pth Using /Users/******/Development/Python/env/lib/python2.7/site-packages/venusian-1.0a2-py2.7.egg Searching for zope.deprecation==3.5.0 Best match: zope.deprecation 3.5.0 Processing zope.deprecation-3.5.0-py2.7.egg zope.deprecation 3.5.0 is already the active version in easy-install.pth Using /Users/******/Development/Python/env/lib/python2.7/site-packages/zope.deprecation-3.5.0-py2.7.egg Searching for zope.interface==3.8.0 Best match: zope.interface 3.8.0 Processing zope.interface-3.8.0-py2.7-macosx-10.7-intel.egg zope.interface 3.8.0 is already the active version in easy-install.pth Using /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 Best match: repoze.lru 0.4 Processing repoze.lru-0.4-py2.7.egg repoze.lru 0.4 is already the active version in easy-install.pth Using /Users/******/Development/Python/env/lib/python2.7/site-packages/repoze.lru-0.4-py2.7.egg Searching for WebOb==1.2b2 Best match: WebOb 1.2b2 Processing WebOb-1.2b2-py2.7.egg WebOb 1.2b2 is already the active version in easy-install.pth Using /Users/******/Development/Python/env/lib/python2.7/site-packages/WebOb-1.2b2-py2.7.egg Searching for Mako==0.5.0 Best match: Mako 0.5.0 Processing Mako-0.5.0-py2.7.egg Mako 0.5.0 is already the active version in easy-install.pth Installing mako-render script to /Users/******/Development/Python/env/bin Using /Users/******/Development/Python/env/lib/python2.7/site-packages/Mako-0.5.0-py2.7.egg Searching for Chameleon==2.7.2 Best match: Chameleon 2.7.2 Processing Chameleon-2.7.2-py2.7.egg Chameleon 2.7.2 is already the active version in easy-install.pth Using /Users/******/Development/Python/env/lib/python2.7/site-packages/Chameleon-2.7.2-py2.7.egg Searching for MarkupSafe==0.15 Best match: MarkupSafe 0.15 Processing MarkupSafe-0.15-py2.7-macosx-10.7-intel.egg MarkupSafe 0.15 is already the active version in easy-install.pth Using /Users/******/Development/Python/env/lib/python2.7/site-packages/MarkupSafe-0.15-py2.7-macosx-10.7-intel.egg Finished processing dependencies for tutorial==0.0
pyramidを使用してwebアプリケーション作成 1
- 開発に必要なパッケージをインストールする
$ ./bin/easy_install docutils nose coverage zope.sqlalchemy SQLAlchemy pyramid_tm Searching for docutils Reading http://pypi.python.org/simple/docutils/ Reading http://docutils.sourceforge.net/ Best match: docutils 0.8.1 Downloading http://prdownloads.sourceforge.net/docutils/docutils-0.8.1.tar.gz?download Processing docutils-0.8.1.tar.gz Running docutils-0.8.1/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-GcxniP/docutils-0.8.1/egg-dist-tmp-_HQO9X warning: no files found matching 'MANIFEST' warning: no previously-included files matching '.cvsignore' found under directory '*' warning: no previously-included files matching '*.pyc' found under directory '*' warning: no previously-included files matching '*~' found under directory '*' warning: no previously-included files matching '.DS_Store' found under directory '*' zip_safe flag not set; analyzing archive contents... docutils.parsers.rst.directives.misc: module references __file__ docutils.writers.html4css1.__init__: module references __file__ docutils.writers.latex2e.__init__: module references __file__ docutils.writers.odf_odt.__init__: module references __file__ docutils.writers.pep_html.__init__: module references __file__ docutils.writers.s5_html.__init__: module references __file__ Adding docutils 0.8.1 to easy-install.pth file Installing rst2html.py script to /Users/******/Development/Python/env/bin Installing rst2latex.py script to /Users/******/Development/Python/env/bin Installing rst2man.py script to /Users/******/Development/Python/env/bin Installing rst2odt.py script to /Users/******/Development/Python/env/bin Installing rst2odt_prepstyles.py script to /Users/******/Development/Python/env/bin Installing rst2pseudoxml.py script to /Users/******/Development/Python/env/bin Installing rst2s5.py script to /Users/******/Development/Python/env/bin Installing rst2xetex.py script to /Users/******/Development/Python/env/bin Installing rst2xml.py script to /Users/******/Development/Python/env/bin Installing rstpep2html.py script to /Users/******/Development/Python/env/bin Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/docutils-0.8.1-py2.7.egg Processing dependencies for docutils Finished processing dependencies for docutils Searching for nose Reading http://pypi.python.org/simple/nose/ Reading http://somethingaboutorange.com/mrl/projects/nose/ Reading http://readthedocs.org/docs/nose/ Best match: nose 1.1.2 Downloading http://pypi.python.org/packages/source/n/nose/nose-1.1.2.tar.gz#md5=144f237b615e23f21f6a50b2183aa817 Processing nose-1.1.2.tar.gz Running nose-1.1.2/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-juECD2/nose-1.1.2/egg-dist-tmp-3MVuUb Adding nose 1.1.2 to easy-install.pth file Installing nosetests script to /Users/******/Development/Python/env/bin Installing nosetests-2.7 script to /Users/******/Development/Python/env/bin Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/nose-1.1.2-py2.7.egg Processing dependencies for nose Finished processing dependencies for nose Searching for coverage Reading http://pypi.python.org/simple/coverage/ Reading http://nedbatchelder.com/code/modules/coverage.html Reading http://nedbatchelder.com/code/coverage Reading http://nedbatchelder.com/code/coverage/3.5b1 Reading http://nedbatchelder.com/code/coverage/3.4b1 Reading http://nedbatchelder.com/code/coverage/3.4b2 Reading http://nedbatchelder.com/code/coverage/3.5.1b1 Best match: coverage 3.5.1 Downloading http://pypi.python.org/packages/source/c/coverage/coverage-3.5.1.tar.gz#md5=410d4c8155a4dab222f2bc51212d4a24 Processing coverage-3.5.1.tar.gz Running coverage-3.5.1/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-wk9UV6/coverage-3.5.1/egg-dist-tmp-Caike7 no previously-included directories found matching 'test' Adding coverage 3.5.1 to easy-install.pth file Installing coverage script to /Users/******/Development/Python/env/bin Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/coverage-3.5.1-py2.7-macosx-10.7-intel.egg Processing dependencies for coverage Finished processing dependencies for coverage Searching for zope.sqlalchemy Reading http://pypi.python.org/simple/zope.sqlalchemy/ Best match: zope.sqlalchemy 0.7 Downloading http://pypi.python.org/packages/source/z/zope.sqlalchemy/zope.sqlalchemy-0.7.tar.gz#md5=dcfed33a03ea009501f4505802ab8d01 Processing zope.sqlalchemy-0.7.tar.gz Running zope.sqlalchemy-0.7/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-cNmGgO/zope.sqlalchemy-0.7/egg-dist-tmp-NnsA8I Adding zope.sqlalchemy 0.7 to easy-install.pth file Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/zope.sqlalchemy-0.7-py2.7.egg Processing dependencies for zope.sqlalchemy Searching for transaction Reading http://pypi.python.org/simple/transaction/ Reading http://www.zope.org/Products/ZODB Best match: transaction 1.2.0 Downloading http://pypi.python.org/packages/source/t/transaction/transaction-1.2.0.tar.gz#md5=48bb47e69df085d01ebec185705b3a7f Processing transaction-1.2.0.tar.gz Running transaction-1.2.0/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-rHmhR6/transaction-1.2.0/egg-dist-tmp-2suRwV Adding transaction 1.2.0 to easy-install.pth file Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/transaction-1.2.0-py2.7.egg Searching for SQLAlchemy>=0.5.1 Reading http://pypi.python.org/simple/SQLAlchemy/ Reading http://www.sqlalchemy.org Best match: SQLAlchemy 0.7.4 Downloading http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.7.4.tar.gz#md5=731dbd55ec9011437a842d781417eae7 Processing SQLAlchemy-0.7.4.tar.gz Running SQLAlchemy-0.7.4/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-zzSCTd/SQLAlchemy-0.7.4/egg-dist-tmp-6cIVTx warning: no files found matching '*.jpg' under directory 'doc' no previously-included directories found matching 'doc/build/output' zip_safe flag not set; analyzing archive contents... Adding SQLAlchemy 0.7.4 to easy-install.pth file Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/SQLAlchemy-0.7.4-py2.7-macosx-10.7-intel.egg Finished processing dependencies for zope.sqlalchemy Searching for SQLAlchemy Best match: SQLAlchemy 0.7.4 Processing SQLAlchemy-0.7.4-py2.7-macosx-10.7-intel.egg SQLAlchemy 0.7.4 is already the active version in easy-install.pth Using /Users/******/Development/Python/env/lib/python2.7/site-packages/SQLAlchemy-0.7.4-py2.7-macosx-10.7-intel.egg Processing dependencies for SQLAlchemy Finished processing dependencies for SQLAlchemy Searching for pyramid-tm Reading http://pypi.python.org/simple/pyramid_tm/ Reading http://docs.pylonsproject.org Best match: pyramid-tm 0.3 Downloading http://pypi.python.org/packages/source/p/pyramid_tm/pyramid_tm-0.3.tar.gz#md5=e54274f7b33614d7e0254f6c2c5ac206 Processing pyramid_tm-0.3.tar.gz Running pyramid_tm-0.3/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-mnFaAQ/pyramid_tm-0.3/egg-dist-tmp-4DyNrU Adding pyramid-tm 0.3 to easy-install.pth file Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/pyramid_tm-0.3-py2.7.egg Processing dependencies for pyramid-tm Finished processing dependencies for pyramid-tm
- pasteを追加
※必要なし。プロジェクトを作成する場合はbin/pcreateを使う
$ ./bin/easy_install paste Searching for paste Reading http://pypi.python.org/simple/paste/ Reading http://pythonpaste.org Best match: Paste 1.7.5.1 Downloading http://pypi.python.org/packages/source/P/Paste/Paste-1.7.5.1.tar.gz#md5=7ea5fabed7dca48eb46dc613c4b6c4ed Processing Paste-1.7.5.1.tar.gz Running Paste-1.7.5.1/setup.py -q bdist_egg --dist-dir /var/folders/5g/0fbkx7t9129286wsbpgqf_ch0000gn/T/easy_install-bh5KX8/Paste-1.7.5.1/egg-dist-tmp-0SQyaH warning: no previously-included files matching '*' found under directory 'docs/_build/_sources' Adding Paste 1.7.5.1 to easy-install.pth file Installed /Users/******/Development/Python/env/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg Processing dependencies for paste Finished processing dependencies for paste
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