-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
59 lines (53 loc) · 1.5 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.rst')) as f:
CHANGES = f.read()
requires = [
'pyramid',
'pyramid_mako',
'pyramid_debugtoolbar',
'pyramid_beaker',
'waitress',
'mongoengine',
'velruse',
'pycrypto',
'wtforms',
'feedformatter',
'pillow',
'nose',
'python-dateutil',
'webtest'
]
init = os.path.join(os.path.dirname(__file__), 'pumbaa', '__init__.py')
version_line = list(filter(lambda l: l.startswith('__version__'), open(init)))[0]
VERSION = version_line.split('=')[-1].replace('\'', '').strip()
setup(name='pumbaa',
version=VERSION,
description='pumbaa community site',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author='',
author_email='',
url='',
keywords='web pyramid pylons',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=requires,
tests_require=requires,
test_suite="pumbaa",
entry_points="""\
[paste.app_factory]
main = pumbaa:main
[console_scripts]
initialize_pumbaa_db = pumbaa.scripts.initializedb:main
""",
)