diff -r 000000000000 -r 186ad038b0d9 {{cookiecutter.project_slug}}/buildout.cfg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/{{cookiecutter.project_slug}}/buildout.cfg Wed Jun 07 15:43:34 2017 +0200 @@ -0,0 +1,111 @@ +[buildout] +extends = http://download.ztfy.org/pyams/pyams-{{ cookiecutter.pyams_release }}.cfg +find-links = http://download.ztfy.org/eggs/ + +socket-timeout = 3 +show-picked-versions = true +newest = false + +allow-hosts = + *.python.org + *.sourceforge.net + github.com + bitbucket.org + download.ztfy.org + +versions = versions +eggs-directory = {{ cookiecutter.eggs_directory }} + +#activate this if you want to use a cache dir, you will have to create the dir +#download-cache = ${buildout:directory}/downloads + +parts = + pyramid + mod_wsgi + +develop = + . + +[pyramid] +recipe = zc.recipe.egg +dependent-scripts = true +eggs = + authomatic +{%- if cookiecutter.beaker_backend == 'redis' %} + beakeredis +{%- endif %} +{%- if cookiecutter.use_oracle %} + cx_Oracle +{%- endif %} + fanstatic + nose +{%- if cookiecutter.use_postgresql %} + psycopg2 +{%- endif %} + pyams_alchemy + pyams_catalog + pyams_content +{%- if cookiecutter.use_elasticsearch %} + pyams_content_es +{%- endif %} + pyams_file + pyams_form + pyams_i18n +{%- if cookiecutter.use_ldap %} + pyams_ldap +{%- endif %} + pyams_mail + pyams_media + pyams_notify + pyams_pagelet + pyams_portal + pyams_scheduler + pyams_security + pyams_sequence + pyams_skin + pyams_template + pyams_thesaurus + pyams_utils + pyams_viewlet + pyams_workflow + pyams_zmi + pyams_zmq + pyams_zodbbrowser +{%- if cookiecutter.beaker_backend == 'memcached' %} + pylibmc +{%- endif %} + pyramid + pyramid_beaker + pyramid_chameleon + pyramid_debugtoolbar +{%- if cookiecutter.use_elasticsearch %} + pyramid_es +{%- endif %} + pyramid_fanstatic + pyramid_ipython + pyramid_tm + pyramid_zcml + pyramid_zodbconn + pyramid_zope_request +{%- if cookiecutter.beaker_backend == 'redis' %} + redis +{%- endif %} + transaction + waitress + WebTest + ZODB + zope.sqlalchemy + {{ cookiecutter.webapp_name }} +interpreter = py + +[mod_wsgi] +recipe = pyramid-recipe-modwsgi +eggs = ${pyramid:eggs} +target = ${buildout:directory}/parts/wsgi/wsgi +config-file = ${buildout:directory}/etc/production.ini +env = + TMP=${buildout:directory}/var/tmp + TEMP=${buildout:directory}/var/tmp + CHAMELEON_CACHE=${buildout:directory}/var/cache + +[versions]