equal
deleted
inserted
replaced
|
1 import os |
|
2 |
|
3 from setuptools import setup, find_packages |
|
4 |
|
5 here = os.path.abspath(os.path.dirname(__file__)) |
|
6 with open(os.path.join(here, 'docs', 'README.txt')) as f: |
|
7 README = f.read() |
|
8 with open(os.path.join(here, 'docs', 'CHANGES.txt')) as f: |
|
9 CHANGES = f.read() |
|
10 |
|
11 requires = [ |
|
12 'aiopyramid[gunicorn]' |
|
13 ] |
|
14 |
|
15 setup(name='{{ cookiecutter.webapp_name }}', |
|
16 version='0.0', |
|
17 description='{{ cookiecutter.project_name }}', |
|
18 long_description=README + '\n\n' + CHANGES, |
|
19 classifiers=[ |
|
20 "Programming Language :: Python", |
|
21 "Framework :: Pyramid", |
|
22 "Topic :: Internet :: WWW/HTTP", |
|
23 "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", |
|
24 ], |
|
25 author='', |
|
26 author_email='', |
|
27 url='', |
|
28 keywords='Pyramid project using AsyncIO websockets', |
|
29 packages=find_packages(), |
|
30 include_package_data=True, |
|
31 zip_safe=False, |
|
32 install_requires=requires, |
|
33 tests_require=requires, |
|
34 test_suite='{{ cookiecutter.webapp_name }}', |
|
35 entry_points=""" |
|
36 [paste.app_factory] |
|
37 main = {{ cookiecutter.webapp_name }}:main |
|
38 """) |