forked from lafada/kalapy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
66 lines (59 loc) · 1.82 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
import os, sys
if sys.version_info < (2, 5):
raise SystemExit("Python 2.5 or later is required")
from setuptools import setup, find_packages
try:
from babel.messages import frontend as babel
cmdclasses = {
'compile_catalog': babel.compile_catalog,
'extract_messages': babel.extract_messages,
'init_catalog': babel.init_catalog,
'update_catalog': babel.update_catalog
}
message_extractors = {
'kalapy': [
('**.py', 'python', None),
],
}
except ImportError:
cmdclasses = {}
message_extractors = {}
# import release meta data (version, author etc.)
execfile(os.path.join("kalapy", "release.py"))
packages = find_packages(exclude=['tests', 'tests.*', 'example', 'example.*'])
setup(
name='KalaPy',
version=version,
url=url,
license=license,
author=author,
author_email=author_email,
description=description,
zip_safe=False,
platforms='any',
install_requires=[
'Werkzeug>=0.6.2',
'Jinja2>=2.4.1',
'Babel>=0.9.5',
'pytz>=2010h',
'Pygments>=1.3.1',
'simplejson>=2.1.1',
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules'
],
packages=packages,
include_package_data=True,
scripts=['bin/kalapy-admin.py'],
cmdclass=cmdclasses,
message_extractors=message_extractors,
)