-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
70 lines (65 loc) · 1.64 KB
/
setup.py
File metadata and controls
70 lines (65 loc) · 1.64 KB
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
import sys
from setuptools import setup
from setuptools import find_packages
try:
from babel.messages import frontend as babel
BABEL = True
except:
BABEL = False
PY3 = sys.version_info >= (3,0)
cmdclass = {}
if BABEL:
cmdclass.update({
'extract_messages': babel.extract_messages,
'init_catalog': babel.init_catalog,
'update_catalog': babel.update_catalog,
})
setup(
name='ikcms',
version='0.6',
packages=find_packages(),
package_dir={'ikcms': 'ikcms'},
test_suite='nose.collector',
tests_require=['nose'],
install_requires=[
'six',
'pytz',
'babel',
'webob', #necessary for iktomi
'sqlalchemy', #necessary for iktomi
'iktomi',
'PyYAML',
'jinja2', #necessary for ikinit
'jsonschema',
],
include_package_data=True,
extras_require={
'mysql': ['PyMySQL'],
'aiomysql': ['aiomysql'],
'aiopg': ['aiopg'],
'memcache': [
PY3 and 'pymemcache' or 'pymemcache',
],
'aiomcache': ['aiomcache'],
'redis': ['redis'],
'aioredis': ['aioredis'],
},
package_data={'ikcms': [
'ikinit/templates/*/*.j2',
'locale/*/*.po',
'apps/admin/static/css/Manifest',
'apps/admin/static/css/*.css',
'apps/admin/static/js/Manifest',
'apps/admin/static/js/*.js',
'apps/admin/static/js/lib/*.js',
]},
cmdclass=cmdclass,
message_extractors={
'ikcms': [('**.py', 'python', None)],
},
entry_points = {
'console_scripts': [
'ikinit = ikcms.ikinit:cli',
],
},
)