{{cookiecutter.project_slug}}/setup.py
changeset 45 bad5178f7035
parent 27 610088bc5214
equal deleted inserted replaced
44:89ed11ad2364 45:bad5178f7035
     1 import os
     1 import os
       
     2 from setuptools import find_packages, setup
     2 
     3 
     3 from setuptools import setup, find_packages
       
     4 
     4 
     5 here = os.path.abspath(os.path.dirname(__file__))
     5 here = os.path.abspath(os.path.dirname(__file__))
     6 with open(os.path.join(here, 'docs', 'README.txt')) as f:
     6 with open(os.path.join(here, 'docs', 'README.txt')) as f:
     7     README = f.read()
     7     README = f.read()
     8 with open(os.path.join(here, 'docs', 'CHANGES.txt')) as f:
     8 with open(os.path.join(here, 'docs', 'CHANGES.txt')) as f:
    23     'nose',
    23     'nose',
    24 {%- if cookiecutter.use_postgresql.lower() in ('true','on','yes','1') %}
    24 {%- if cookiecutter.use_postgresql.lower() in ('true','on','yes','1') %}
    25     'psycopg2',
    25     'psycopg2',
    26 {%- endif %}
    26 {%- endif %}
    27     'pyams_alchemy',
    27     'pyams_alchemy',
       
    28 {%- if cookiecutter.use_elasticsearch_apm.lower() in ('true', 'on', 'yes', '1') %}
       
    29     'pyams_apm',
       
    30 {%- endif %}
    28     'pyams_catalog',
    31     'pyams_catalog',
    29     'pyams_content',
    32     'pyams_content',
    30 {%- if cookiecutter.use_elasticsearch.lower() in ('true','on','yes','1') %}
    33 {%- if cookiecutter.use_elasticsearch.lower() in ('true','on','yes','1') %}
    31     'pyams_content_es',
    34     'pyams_content_es',
    32 {%- endif %}
    35 {%- endif %}