commit | author | age
|
612d74
|
1 |
############################################################################## |
CM |
2 |
# |
b23b13
|
3 |
# Copyright (c) 2008-2013 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 |
############################################################################## |
21882e
|
14 |
from setuptools import find_packages, setup |
BJR |
15 |
|
e6c2d2
|
16 |
|
e42ba5
|
17 |
def readfile(name): |
MM |
18 |
with open(name) as f: |
|
19 |
return f.read() |
|
20 |
|
21882e
|
21 |
|
e42ba5
|
22 |
README = readfile('README.rst') |
6141a7
|
23 |
CHANGES = readfile('CHANGES.rst') |
01a6e5
|
24 |
|
764b5d
|
25 |
install_requires = [ |
21882e
|
26 |
'hupper', |
14be69
|
27 |
'plaster', |
db8aea
|
28 |
'plaster_pastedeploy', |
21882e
|
29 |
'setuptools', |
BJR |
30 |
'translationstring >= 0.4', # py3 compat |
|
31 |
'venusian >= 1.0', # ``ignore`` |
967a06
|
32 |
'webob >= 1.8.2', # cookies.make_cookie allows non-bytes samesite |
21882e
|
33 |
'zope.deprecation >= 3.5.0', # py3 compat |
BJR |
34 |
'zope.interface >= 3.8.0', # has zope.interface.registry |
|
35 |
] |
e6c2d2
|
36 |
|
a3744b
|
37 |
tests_require = [ |
21882e
|
38 |
'webtest >= 1.3.1', # py3 compat |
BJR |
39 |
'zope.component >= 4.0', # py3 compat |
|
40 |
] |
e6c2d2
|
41 |
|
c75e50
|
42 |
|
aca78f
|
43 |
docs_extras = [ |
473663
|
44 |
'Sphinx >= 1.8.1', |
aca78f
|
45 |
'docutils', |
eed1d8
|
46 |
'pylons-sphinx-themes >= 1.0.8', |
21882e
|
47 |
'pylons_sphinx_latesturl', |
BJR |
48 |
'repoze.sphinx.autointerface', |
b7f994
|
49 |
'sphinxcontrib-autoprogram', |
21882e
|
50 |
] |
90da3b
|
51 |
|
CM |
52 |
testing_extras = tests_require + [ |
|
53 |
'coverage', |
21882e
|
54 |
'nose', |
b2a749
|
55 |
'virtualenv', # for scaffolding tests |
21882e
|
56 |
] |
1e0e9b
|
57 |
|
b60bdb
|
58 |
setup(name='pyramid', |
884eb5
|
59 |
version='1.10.dev0', |
78b41e
|
60 |
description='The Pyramid Web Framework, a Pylons project', |
764b5d
|
61 |
long_description=README + '\n\n' + CHANGES, |
612d74
|
62 |
classifiers=[ |
764b5d
|
63 |
"Development Status :: 6 - Mature", |
BJR |
64 |
"Intended Audience :: Developers", |
|
65 |
"Programming Language :: Python", |
|
66 |
"Programming Language :: Python :: 2.7", |
|
67 |
"Programming Language :: Python :: 3", |
|
68 |
"Programming Language :: Python :: 3.4", |
|
69 |
"Programming Language :: Python :: 3.5", |
c8a5e0
|
70 |
"Programming Language :: Python :: 3.6", |
482075
|
71 |
"Programming Language :: Python :: 3.7", |
764b5d
|
72 |
"Programming Language :: Python :: Implementation :: CPython", |
BJR |
73 |
"Programming Language :: Python :: Implementation :: PyPy", |
|
74 |
"Framework :: Pyramid", |
|
75 |
"Topic :: Internet :: WWW/HTTP", |
|
76 |
"Topic :: Internet :: WWW/HTTP :: WSGI", |
|
77 |
"License :: Repoze Public License", |
|
78 |
], |
e8e655
|
79 |
keywords='web wsgi pylons pyramid', |
4dc529
|
80 |
author="Chris McDonough, Agendaless Consulting", |
b4ecce
|
81 |
author_email="pylons-discuss@googlegroups.com", |
afd04c
|
82 |
url="https://trypyramid.com", |
612d74
|
83 |
license="BSD-derived (http://www.repoze.org/LICENSE.txt)", |
CM |
84 |
packages=find_packages(), |
|
85 |
include_package_data=True, |
|
86 |
zip_safe=False, |
8b96cf
|
87 |
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', |
764b5d
|
88 |
install_requires=install_requires, |
BJR |
89 |
extras_require={ |
e80491
|
90 |
':python_version<"3.2"': ['repoze.lru >= 0.4'], |
764b5d
|
91 |
'testing': testing_extras, |
BJR |
92 |
'docs': docs_extras, |
21882e
|
93 |
}, |
764b5d
|
94 |
tests_require=tests_require, |
beb87d
|
95 |
test_suite="pyramid.tests", |
764b5d
|
96 |
entry_points="""\ |
a30a39
|
97 |
[pyramid.scaffold] |
CM |
98 |
starter=pyramid.scaffolds:StarterProjectTemplate |
|
99 |
zodb=pyramid.scaffolds:ZODBProjectTemplate |
|
100 |
alchemy=pyramid.scaffolds:AlchemyProjectTemplate |
b7350e
|
101 |
[pyramid.pshell_runner] |
MM |
102 |
python=pyramid.scripts.pshell:python_shell_runner |
68a711
|
103 |
[console_scripts] |
a30a39
|
104 |
pcreate = pyramid.scripts.pcreate:main |
0e0cb7
|
105 |
pserve = pyramid.scripts.pserve:main |
337960
|
106 |
pshell = pyramid.scripts.pshell:main |
CM |
107 |
proutes = pyramid.scripts.proutes:main |
|
108 |
pviews = pyramid.scripts.pviews:main |
|
109 |
ptweens = pyramid.scripts.ptweens:main |
4eab20
|
110 |
prequest = pyramid.scripts.prequest:main |
b210ce
|
111 |
pdistreport = pyramid.scripts.pdistreport:main |
0e0cb7
|
112 |
[paste.server_runner] |
CM |
113 |
wsgiref = pyramid.scripts.pserve:wsgiref_server_runner |
a0e3cb
|
114 |
cherrypy = pyramid.scripts.pserve:cherrypy_server_runner |
612d74
|
115 |
""" |
CM |
116 |
) |