Michael Merickel
2018-10-15 2b024920847481592b1a13d4006d2a9fa8881d72
commit | author | age
33c5e3 1 import os
CDLG 2
3 from setuptools import setup, find_packages
4
5 here = os.path.abspath(os.path.dirname(__file__))
eb3cee 6 with open(os.path.join(here, 'README.txt')) as f:
TL 7     README = f.read()
8 with open(os.path.join(here, 'CHANGES.txt')) as f:
9     CHANGES = f.read()
33c5e3 10
CDLG 11 requires = [
e11fd4 12     'pyramid',
414b67 13     'pyramid_jinja2',
b28964 14     'pyramid_debugtoolbar',
MM 15     'pyramid_tm',
818f8c 16     'SQLAlchemy',
CM 17     'transaction',
33c5e3 18     'zope.sqlalchemy',
030d10 19     'waitress',
33c5e3 20     ]
CDLG 21
ebbe68 22 tests_require = [
9b0730 23     'WebTest >= 1.3.1',  # py3 compat
SP 24     'pytest',  # includes virtualenv
25     'pytest-cov',
26     ]
91f7ed 27
33c5e3 28 setup(name='{{project}}',
5464c6 29       version='0.0',
33c5e3 30       description='{{project}}',
877eeb 31       long_description=README + '\n\n' + CHANGES,
33c5e3 32       classifiers=[
9b0730 33           "Programming Language :: Python",
SP 34           "Framework :: Pyramid",
35           "Topic :: Internet :: WWW/HTTP",
36           "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
37       ],
33c5e3 38       author='',
CDLG 39       author_email='',
40       url='',
818f8c 41       keywords='web wsgi bfg pylons pyramid',
33c5e3 42       packages=find_packages(),
CDLG 43       include_package_data=True,
44       zip_safe=False,
9b0730 45       extras_require={
ebbe68 46           'testing': tests_require,
9b0730 47       },
5cafd6 48       install_requires=requires,
HS 49       entry_points="""\
33c5e3 50       [paste.app_factory]
9cca72 51       main = {{package}}:main
c96ca8 52       [console_scripts]
a67838 53       initialize_{{project}}_db = {{package}}.scripts.initializedb:main
159cd0 54       """,
33c5e3 55       )