{{cookiecutter.project_slug}}/buildout.cfg
changeset 0 186ad038b0d9
child 24 3dfc7249e43a
equal deleted inserted replaced
-1:000000000000 0:186ad038b0d9
       
     1 [buildout]
       
     2 extends = http://download.ztfy.org/pyams/pyams-{{ cookiecutter.pyams_release }}.cfg
       
     3 find-links = http://download.ztfy.org/eggs/
       
     4 
       
     5 socket-timeout = 3
       
     6 show-picked-versions = true
       
     7 newest = false
       
     8 
       
     9 allow-hosts =
       
    10     *.python.org
       
    11     *.sourceforge.net
       
    12     github.com
       
    13     bitbucket.org
       
    14     download.ztfy.org
       
    15 
       
    16 versions = versions
       
    17 eggs-directory = {{ cookiecutter.eggs_directory }}
       
    18 
       
    19 #activate this if you want to use a cache dir, you will have to create the dir
       
    20 #download-cache = ${buildout:directory}/downloads
       
    21 
       
    22 parts =
       
    23     pyramid
       
    24     mod_wsgi
       
    25 
       
    26 develop =
       
    27     .
       
    28 
       
    29 [pyramid]
       
    30 recipe = zc.recipe.egg
       
    31 dependent-scripts = true
       
    32 eggs =
       
    33     authomatic
       
    34 {%- if cookiecutter.beaker_backend == 'redis' %}
       
    35     beakeredis
       
    36 {%- endif %}
       
    37 {%- if cookiecutter.use_oracle %}
       
    38     cx_Oracle
       
    39 {%- endif %}
       
    40     fanstatic
       
    41     nose
       
    42 {%- if cookiecutter.use_postgresql %}
       
    43     psycopg2
       
    44 {%- endif %}
       
    45     pyams_alchemy
       
    46     pyams_catalog
       
    47     pyams_content
       
    48 {%- if cookiecutter.use_elasticsearch %}
       
    49     pyams_content_es
       
    50 {%- endif %}
       
    51     pyams_file
       
    52     pyams_form
       
    53     pyams_i18n
       
    54 {%- if cookiecutter.use_ldap %}
       
    55     pyams_ldap
       
    56 {%- endif %}
       
    57     pyams_mail
       
    58     pyams_media
       
    59     pyams_notify
       
    60     pyams_pagelet
       
    61     pyams_portal
       
    62     pyams_scheduler
       
    63     pyams_security
       
    64     pyams_sequence
       
    65     pyams_skin
       
    66     pyams_template
       
    67     pyams_thesaurus
       
    68     pyams_utils
       
    69     pyams_viewlet
       
    70     pyams_workflow
       
    71     pyams_zmi
       
    72     pyams_zmq
       
    73     pyams_zodbbrowser
       
    74 {%- if cookiecutter.beaker_backend == 'memcached' %}
       
    75     pylibmc
       
    76 {%- endif %}
       
    77     pyramid
       
    78     pyramid_beaker
       
    79     pyramid_chameleon
       
    80     pyramid_debugtoolbar
       
    81 {%- if cookiecutter.use_elasticsearch %}
       
    82     pyramid_es
       
    83 {%- endif %}
       
    84     pyramid_fanstatic
       
    85     pyramid_ipython
       
    86     pyramid_tm
       
    87     pyramid_zcml
       
    88     pyramid_zodbconn
       
    89     pyramid_zope_request
       
    90 {%- if cookiecutter.beaker_backend == 'redis' %}
       
    91     redis
       
    92 {%- endif %}
       
    93     transaction
       
    94     waitress
       
    95     WebTest
       
    96     ZODB
       
    97     zope.sqlalchemy
       
    98     {{ cookiecutter.webapp_name }}
       
    99 interpreter = py
       
   100 
       
   101 [mod_wsgi]
       
   102 recipe = pyramid-recipe-modwsgi
       
   103 eggs = ${pyramid:eggs}
       
   104 target = ${buildout:directory}/parts/wsgi/wsgi
       
   105 config-file = ${buildout:directory}/etc/production.ini
       
   106 env =
       
   107     TMP=${buildout:directory}/var/tmp
       
   108     TEMP=${buildout:directory}/var/tmp
       
   109     CHAMELEON_CACHE=${buildout:directory}/var/cache
       
   110 
       
   111 [versions]