-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
82 lines (76 loc) · 2.24 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
70
71
72
73
74
75
76
77
78
79
80
81
82
# -*- coding: utf-8 -*-
#quckstarted Options:
#
# sqlalchemy: True
# auth: sqlalchemy
# mako: True
#
#
import sys
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
testpkgs=['WebTest >= 1.2.3',
'nose',
'coverage',
'wsgiref',
'repoze.who-testutil >= 1.0.1',
]
if sys.version_info[:2] == (2,4):
testpkgs.extend(['hashlib', 'pysqlite'])
setup(
name='mdemos.server',
version='1.0.1',
description='A test server for mdemos.all',
author='Ralph Bean',
author_email='[email protected]',
url='http://github.com/ralphbean/mdemos.server',
install_requires=[
"tg.devtools <= 2.1.5",
"TurboGears2 <= 2.1.5",
"Mako",
"zope.sqlalchemy >= 0.4",
"repoze.tm2 >= 1.0a5",
"sqlalchemy",
"sqlalchemy-migrate",
"repoze.what-quickstart",
"repoze.what >= 1.0.8",
"repoze.what-quickstart",
"repoze.who-friendlyform >= 1.0.4",
"repoze.what-pylons >= 1.0",
"repoze.what.plugins.sql",
"repoze.who==1.0.19",
"tgext.admin >= 0.3.9",
"moksha.wsgi",
"moksha.hub",
"pylons==1.0.0",
"webob==1.0.8",
"WebTest<2.0",
],
setup_requires=["PasteScript >= 1.7"],
paster_plugins=['PasteScript', 'Pylons', 'TurboGears2', 'tg.devtools'],
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
test_suite='nose.collector',
tests_require=testpkgs,
package_data={'mdemos.server': ['i18n/*/LC_MESSAGES/*.mo',
'templates/*/*',
'public/*/*']},
message_extractors={'mdemos.server': [
('**.py', 'python', None),
('templates/**.mako', 'mako', None),
('public/**', 'ignore', None)]},
entry_points="""
[paste.app_factory]
main = mdemos.server.config.middleware:make_app
[paste.app_install]
main = pylons.util:PylonsInstaller
""",
dependency_links=[
"http://www.turbogears.org/2.1/downloads/current/"
],
zip_safe=False
)