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