-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
63 lines (57 loc) · 1.72 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
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import sys
sys.path.insert(0, '.')
from isitopen import __version__, __description__, __long_description__, __license__
setup(
name='isitopen',
version=__version__,
description=__description__,
long_description=__long_description__,
license=__license__,
author='Rufus Pollock (Open Knowledge Foundation)',
author_email='',
url='http://isitopen.ckan.net/',
install_requires=[
'WebOb<=1.0.1',
'Pylons>=0.9.7,<0.9.8',
# TODO: minor issues with routes >= 1.12
'Routes<=1.11.99',
'SQLAlchemy>=0.5,<0.5.99',
'Genshi>=0.6',
'FormAlchemy>=1.0',
# last version to work with SQLA < 0.5
'sqlalchemy-migrate>=0.5,<0.5.99',
# for mail tests
# 'processing',
'repoze.who<1.99',
# for web app deployment
'PasteDeploy',
],
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
test_suite='nose.collector',
package_data={'isitopen': ['i18n/*/LC_MESSAGES/*.mo']},
message_extractors = {'isitopen': [
('**.py', 'python', None),
('templates/**.html', 'genshi', None),
('public/**', 'ignore', None)]},
paster_plugins=[
'Pylons',
'WebHelpers',
'PasteScript',
],
entry_points="""
[paste.app_factory]
main = isitopen.config.middleware:make_app
[paste.app_install]
main = pylons.util:PylonsInstaller
[paste.paster_command]
db = isitopen.lib.cli:ManageDb
fixtures = isitopen.lib.cli:Fixtures
""",
)