-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
69 lines (64 loc) · 1.77 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
# -*- coding: utf-8 -*-
import sys, os
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
install_requires = [
"tgext.pluggable >= 0.7.2",
"sprox >= 0.9.1",
"tgext.mailer",
"kajiki >= 0.7.1",
"TurboGears2 >= 2.3.8",
]
testpkgs = ['WebTest>=1.2.3',
'nose',
'coverage',
'mock',
'ming',
'sqlalchemy',
'zope.sqlalchemy < 1.2',
'repoze.who',
'tw2.forms',
'pyquery',
'tgext.asyncjob']
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
setup(
name='tgapp-mailtemplates',
version='0.16.0',
description='Email template management for web applications',
long_description=README,
author='Marco Bosio',
author_email='[email protected]',
url='https://github.com/axant/tgapp-mailtemplates',
keywords='turbogears2.application',
packages=find_packages(exclude=['ez_setup']),
install_requires=install_requires,
include_package_data=True,
package_data={'mailtemplates': [
'i18n/*/LC_MESSAGES/*.mo',
'templates/*/*',
'public/*/*'
]},
tests_require=testpkgs,
extras_require={
'testing': testpkgs,
'asyncjob': ['tgext.asyncjob == 0.3.1'],
'celery': ['tgext.celery >= 0.0.3']
},
message_extractors={'mailtemplates': [
('**.py', 'python', None),
('templates/**.xhtml', 'kajiki', None),
('templates/**.html', 'genshi', None),
('public/**', 'ignore', None)
]},
entry_points="""
""",
zip_safe=False
)