-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
129 lines (112 loc) · 4.68 KB
/
setup.py
File metadata and controls
129 lines (112 loc) · 4.68 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
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
VERSION = '0.4.1'
import sys, os, textwrap
from setuptools import setup, find_packages
# -----------------------------------------------------------------------------
try:
import stackless
except ImportError:
print 'You must use Python Stackless !'
print 'Get it at http://www.stackless.com'
sys.exit(-1)
if sys.version_info < (2, 5, 2):
print 'The version of Stackless Python must be 2.5.2 or more'
sys.exit(-2)
# -----------------------------------------------------------------------------
f = open(os.path.join(os.path.dirname(__file__), 'docs', 'features.txt'))
long_description = f.read()
f.close()
setup(
name = 'nagare',
version = VERSION,
author = 'Alain Poirier',
author_email = 'alain.poirier at net-ng.com',
description = 'Nagare Python web framework',
long_description = textwrap.dedent("""
Description
^^^^^^^^^^^
%s
Installation
============
For a standard installation, read the ``docs/quickstart.txt`` document.
Read ``docs/framework_installation.txt`` to install the
`latest <http://www.nagare.org/snapshots/nagare-latest#egg=nagare-dev>`_
development version from the `Mercurial repository <http://hg.nagare.org/core>`_
or to create a Nagare developer installation.
""") % long_description,
license = 'BSD',
keywords = 'web wsgi framework sqlalchemy elixir seaside continuation ajax stackless',
url = 'http://www.nagare.org',
download_url = 'http://www.nagare.org/download',
packages = find_packages(),
include_package_data = True,
use_hg_version = True,
package_data = { '' : ['nagare/static/*',] },
namespace_packages = ('nagare',),
zip_safe = False,
dependency_links = ('http://www.nagare.org/download/',),
install_requires = ('PEAK-Rules', 'ConfigObj', 'lxml==2.3.0', 'WebOb>=1.2b1', 'Paste', 'flup', 'python-memcached'),
extras_require = {
'debug' : ('WebError',),
# The SQLAlchemy==0.5.8 version restriction can be removed if you want to test a newer version.
# Nagare 0.4.0 is compatible with SQLAlchemy 0.6.x and 0.7.x.
# But we observe an important performance drop on our projects, at least with Oracle.
'database' : ('SQLAlchemy==0.5.8', 'Elixir'),
'doc' : ('Pygments==1.1', 'docutils', 'RstDoc'),
'test' : ('nose',),
'i18n' : ('Babel', 'pytz'),
'full' : (
'WebError',
'SQLAlchemy==0.5.8', 'Elixir',
'Pygments==1.1', 'docutils', 'RstDoc',
'nose',
'Babel', 'pytz'
),
},
test_suite = 'nose.collector',
#tests_require = 'nose',
entry_points = '''
[distutils.commands]
generate_api = nagare.doc.setuplib:GenerateAPI [doc]
generate_html = nagare.doc.setuplib:GenerateHTML [doc]
[console_scripts]
nagare-admin = nagare.admin.main:main
[nagare.commands]
info = nagare.admin.info:Info
serve = nagare.admin.serve:Serve
serve-module = nagare.admin.serve_module:Serve
create-app = nagare.admin.create:Create
create-db = nagare.admin.db:DBCreate
drop-db = nagare.admin.db:DBDrop
shell = nagare.admin.shell:Shell
batch = nagare.admin.shell:Batch
create-rules = nagare.admin.create_rules:CreateRules
[nagare.publishers]
standalone = nagare.publishers.standalone_publisher:Publisher
threaded = nagare.publishers.standalone_publisher:Publisher
fastcgi = nagare.publishers.fcgi_publisher:Publisher
fapws3 = nagare.publishers.fapws_publisher:Publisher
eventlet = nagare.publishers.eventlet_publisher:Publisher
[nagare.sessions]
standalone = nagare.sessions.memory_sessions:SessionsWithPickledStates
pickle = nagare.sessions.memory_sessions:SessionsWithPickledStates
memcache = nagare.sessions.memcached_sessions:Sessions
dummy = nagare.sessions.dummy_sessions:Sessions
[nagare.applications]
admin = nagare.admin.admin_app:app
[nagare.admin]
info = nagare.admin.interface.info:Admin
apps = nagare.admin.interface.applications:Admin
''',
classifiers = (
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Environment :: Web Environment',
'Operating System :: Microsoft :: Windows :: Windows NT/2000',
'Operating System :: Unix',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
)
)