commit | author | age
|
612d74
|
1 |
############################################################################## |
CM |
2 |
# |
4e27f9
|
3 |
# Copyright (c) 2008-2010 Agendaless Consulting and Contributors. |
612d74
|
4 |
# All Rights Reserved. |
CM |
5 |
# |
|
6 |
# This software is subject to the provisions of the BSD-like license at |
|
7 |
# http://www.repoze.org/LICENSE.txt. A copy of the license should accompany |
|
8 |
# this distribution. THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL |
|
9 |
# EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, |
|
10 |
# THE IMPLIED WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND |
|
11 |
# FITNESS FOR A PARTICULAR PURPOSE |
|
12 |
# |
|
13 |
############################################################################## |
|
14 |
|
a063af
|
15 |
__version__ = '1.0a9' |
612d74
|
16 |
|
CM |
17 |
import os |
1e0e9b
|
18 |
import platform |
a9fed7
|
19 |
import sys |
612d74
|
20 |
|
CM |
21 |
from setuptools import setup, find_packages |
|
22 |
|
|
23 |
here = os.path.abspath(os.path.dirname(__file__)) |
357b40
|
24 |
try: |
90d620
|
25 |
README = open(os.path.join(here, 'README.rst')).read() |
357b40
|
26 |
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read() |
CM |
27 |
except IOError: |
|
28 |
README = CHANGES = '' |
01a6e5
|
29 |
|
CM |
30 |
install_requires=[ |
7534ba
|
31 |
'Chameleon >= 1.2.3', |
81e648
|
32 |
'Mako >= 0.3.6', # strict_undefined |
e218b2
|
33 |
'Paste > 1.7', # temp version pin to prevent PyPi install failure :-( |
cb349c
|
34 |
'PasteDeploy', |
cbdc36
|
35 |
'PasteScript', |
2d7993
|
36 |
'WebOb >= 1.0', # no "default_charset" |
813d95
|
37 |
'repoze.lru', |
CM |
38 |
'setuptools', |
ba9b0e
|
39 |
'zope.component >= 3.6.0', # independent of zope.hookable |
103efb
|
40 |
'zope.configuration', |
1add63
|
41 |
'zope.deprecation', |
813d95
|
42 |
'zope.interface >= 3.5.1', # 3.5.0 comment: "allow to bootstrap on jython" |
14b78b
|
43 |
'venusian >= 0.5', # ``codeinfo`` |
7534ba
|
44 |
'translationstring', |
01a6e5
|
45 |
] |
612d74
|
46 |
|
1e0e9b
|
47 |
if platform.system() == 'Java': |
dbaa08
|
48 |
tests_require = install_requires + ['WebTest'] |
1e0e9b
|
49 |
else: |
1e467e
|
50 |
tests_require= install_requires + ['Sphinx', 'docutils', |
dbaa08
|
51 |
'WebTest', 'repoze.sphinx.autointerface'] |
1e0e9b
|
52 |
|
a9fed7
|
53 |
if sys.version_info[:2] < (2, 6): |
CM |
54 |
install_requires.append('simplejson') |
|
55 |
|
b60bdb
|
56 |
setup(name='pyramid', |
612d74
|
57 |
version=__version__, |
b60bdb
|
58 |
description='The Pyramid web application framework, a Pylons project', |
612d74
|
59 |
long_description=README + '\n\n' + CHANGES, |
CM |
60 |
classifiers=[ |
|
61 |
"Intended Audience :: Developers", |
|
62 |
"Programming Language :: Python", |
b60bdb
|
63 |
"Framework :: Pylons", |
612d74
|
64 |
"Topic :: Internet :: WWW/HTTP", |
CM |
65 |
"Topic :: Internet :: WWW/HTTP :: WSGI", |
c35ca1
|
66 |
"License :: Repoze Public License", |
612d74
|
67 |
], |
b60bdb
|
68 |
keywords='web wsgi pylons pyramid bfg', |
4dc529
|
69 |
author="Chris McDonough, Agendaless Consulting", |
52d4fb
|
70 |
author_email="pylons-devel@googlegroups.com", |
870638
|
71 |
url="http://docs.pylonshq.com", |
612d74
|
72 |
license="BSD-derived (http://www.repoze.org/LICENSE.txt)", |
CM |
73 |
packages=find_packages(), |
|
74 |
include_package_data=True, |
|
75 |
zip_safe=False, |
01a6e5
|
76 |
install_requires = install_requires, |
1e0e9b
|
77 |
tests_require = tests_require, |
b60bdb
|
78 |
test_suite="pyramid.tests", |
612d74
|
79 |
entry_points = """\ |
b5c35e
|
80 |
[paste.paster_create_template] |
b60bdb
|
81 |
pyramid_starter=pyramid.paster:StarterProjectTemplate |
f1103c
|
82 |
pyramid_starter_zcml=pyramid.paster:StarterZCMLProjectTemplate |
b60bdb
|
83 |
pyramid_zodb=pyramid.paster:ZODBProjectTemplate |
CM |
84 |
pyramid_routesalchemy=pyramid.paster:RoutesAlchemyProjectTemplate |
|
85 |
pyramid_alchemy=pyramid.paster:AlchemyProjectTemplate |
14dc81
|
86 |
pylons_basic=pyramid.paster:PylonsBasicProjectTemplate |
CM |
87 |
pylons_minimal=pyramid.paster:PylonsMinimalProjectTemplate |
|
88 |
pylons_sqla=pyramid.paster:PylonsSQLAlchemyProjectTemplate |
156375
|
89 |
[paste.paster_command] |
6a3184
|
90 |
pshell=pyramid.paster:PShellCommand |
90a327
|
91 |
proutes=pyramid.paster:PRoutesCommand |
68a711
|
92 |
[console_scripts] |
CM |
93 |
bfg2pyramid = pyramid.fixers.fix_bfg_imports:main |
612d74
|
94 |
""" |
CM |
95 |
) |
|
96 |
|