forked from marrow/WebCore
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·101 lines (84 loc) · 2.9 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#!/usr/bin/env python
# encoding: utf-8
import sys, os
try:
from distribute_setup import use_setuptools
use_setuptools()
except ImportError:
pass
from setuptools import setup, find_packages
if sys.version_info <= (2, 5):
raise SystemExit("Python 2.5 or later is required.")
execfile(os.path.join("web", "release.py"))
setup(
name = name,
version = version,
description = summary,
long_description = description,
author = author,
author_email = email,
url = url,
download_url = download_url,
license = license,
keywords = '',
install_requires = [
'Paste',
'PasteDeploy',
'PasteScript',
'WebOb',
'WebError',
'alacarte'
],
test_suite = 'nose.collector',
tests_require = [
'nose',
'coverage',
'Genshi',
'SQLAlchemy',
'Beaker',
'ToscaWidgets'
],
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: Web Environment",
"Framework :: Paste",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: WSGI",
"Topic :: Software Development :: Libraries :: Python Modules"
],
packages = find_packages(exclude=['ez_setup', 'examples', 'tests', 'tests.*', 'docs']),
include_package_data = True,
package_data = {
'': ['README.textile', 'LICENSE', 'distribute_setup.py'],
'docs': ['Makefile', 'source/*']
},
zip_safe = True,
namespace_packages = [
'web',
'web.app',
'web.extras',
'web.db'
],
entry_points = {
'paste.app_factory': [
'main = web.core:Application.factory'
],
'paste.paster_command': [
'shell = web.commands.shell:ShellCommand'
],
'webcore.command': [
'shell = web.commands.shell:ShellCommand'
],
'toscawidgets.host_frameworks': [
'webcore = web.extras.twframework:WebCoreHostFramework'
],
'webcore.db.engines': [
'sqlalchemy = web.db.sa:SQLAlchemyMiddleware',
'mongo = web.db.mongo:MongoMiddleware'
]
}
)