commit | author | age
|
558f3e
|
1 |
import os |
SP |
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, 'README.txt')) as f: |
|
7 |
README = f.read() |
|
8 |
with open(os.path.join(here, 'CHANGES.txt')) as f: |
|
9 |
CHANGES = f.read() |
|
10 |
|
|
11 |
requires = [ |
|
12 |
'pyramid', |
|
13 |
'pyramid_debugtoolbar', |
263ba4
|
14 |
'pyramid_jinja2', |
558f3e
|
15 |
'waitress', |
SP |
16 |
] |
|
17 |
|
|
18 |
tests_require = [ |
|
19 |
'WebTest >= 1.3.1', # py3 compat |
|
20 |
'pytest', |
|
21 |
'pytest-cov', |
|
22 |
] |
|
23 |
|
|
24 |
setup( |
|
25 |
name='cc_starter', |
|
26 |
version='0.0', |
|
27 |
description='cc_starter', |
|
28 |
long_description=README + '\n\n' + CHANGES, |
|
29 |
classifiers=[ |
|
30 |
'Programming Language :: Python', |
|
31 |
'Framework :: Pyramid', |
|
32 |
'Topic :: Internet :: WWW/HTTP', |
|
33 |
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application', |
|
34 |
], |
|
35 |
author='', |
|
36 |
author_email='', |
|
37 |
url='', |
|
38 |
keywords='web pyramid pylons', |
|
39 |
packages=find_packages(), |
|
40 |
include_package_data=True, |
|
41 |
zip_safe=False, |
|
42 |
extras_require={ |
|
43 |
'testing': tests_require, |
|
44 |
}, |
|
45 |
install_requires=requires, |
|
46 |
entry_points={ |
|
47 |
'paste.app_factory': [ |
|
48 |
'main = cc_starter:main', |
|
49 |
], |
|
50 |
}, |
|
51 |
) |