forked from Intevation/ringo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
83 lines (78 loc) · 2.41 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# -*- coding: utf-8 -*-
import os
import multiprocessing
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
requires = [
'pyramid',
'SQLAlchemy',
'alembic',
'transaction',
'pyramid_tm<2.0',
'pyramid_mako',
'pyramid_beaker',
'pyramid_mailer==0.14.1',
'zope.sqlalchemy',
'waitress',
'babel',
'formbar',
'invoke',
'dogpile.cache',
'passlib',
'python-dateutil',
'fuzzy',
'python-Levenshtein',
'webhelpers',
'psycopg2',
'xlsxwriter'
]
tests_requires = [
'pytest-ringo',
]
setup(name='ringo',
version = '1.17.7',
description='A simple web framework with base functionality to build web applications.',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
],
author='Torsten Irländer',
author_email='[email protected]',
url='https://bitbucket.org/ti/ringo',
keywords='web wsgi bfg pylons pyramid',
license='GNU General Public License v2 or later (GPLv2+)',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=requires,
tests_require=tests_requires,
extras_require={
"tests": tests_requires,
"develop": ["Sphinx", "pyramid_debugtoolbar"]
},
entry_points="""\
[paste.app_factory]
main = ringo:main
[console_scripts]
ringo-admin = ringo.scripts.admin:main
[babel.extractors]
tableconfig = ringo.lib.i18n:extract_i18n_tableconfig
formconfig = formbar.i18n:extract_i18n_formconfig
[pyramid.scaffold]
ringo=ringo.scaffolds:BasicRingoTemplate
ringo_extension=ringo.scaffolds:RingoExtensionTemplate
""",
message_extractors = {'ringo': [
('**.py', 'python', None),
('templates/**.html', 'mako', None),
('templates/**.mako', 'mako', None),
('views/**.xml', 'formconfig', None),
('views/**.json', 'tableconfig', None),
('static/**', 'ignore', None)]},
)