-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (57 loc) · 1.51 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
#-*- coding:utf-8 -*-
from setuptools import setup, find_packages
kwargs = {}
try:
from babel.messages import frontend as babel
kwargs['cmdclass'] = {
'extract_messages': babel.extract_messages,
'update_catalog': babel.update_catalog,
'compile_catalog': babel.compile_catalog,
'init_catalog': babel.init_catalog,
}
kwargs['message_extractors'] = {
'cogenda_app': [
('**.py', 'python', None),
('**/templates/**.html', 'jinja2', {
'extensions': (
'jinja2.ext.autoescape,'
'jinja2.ext.with_,'
'jinja2.ext.do,'
)
}),
('**/templates/**.md', 'jinja2', {
'extensions': (
'jinja2.ext.autoescape,'
'jinja2.ext.with_,'
'jinja2.ext.do,'
'cogenda_app.lib.md2_extension.md2ext,'
)
})
]
}
except ImportError:
pass
install_requires = [
'cherrypy',
'Jinja2',
'SQLalchemy',
'Babel',
'routes',
'mailer',
'markdown2',
'fuzzywuzzy',
'python-geoip-geolite2',
'alembic'
]
setup(
name='cogenda-web',
version='0.0.1',
author='cogenda-dev-team',
author_email='support@cogenda.com',
url='http://cogenda.com',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=install_requires,
zip_safe=False,
include_package_data=True,
**kwargs
)