Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 83 lines (74 sloc) 2.988 kB
612d747 Start on bfg.
Chris McDonough authored
1 ##############################################################################
2 #
3 # Copyright (c) 2008 Agendaless Consulting and Contributors.
4 # All Rights Reserved.
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
3d67d49 Note unreleasedness.
Chris McDonough authored
15 __version__ = '1.2unreleased'
612d747 Start on bfg.
Chris McDonough authored
16
17 import os
a9fed76 Checkpoint. Not 100% test coverage.
Chris McDonough authored
18 import sys
612d747 Start on bfg.
Chris McDonough authored
19
20 from setuptools import setup, find_packages
21
22 here = os.path.abspath(os.path.dirname(__file__))
357b402 Fix bug reported by jpenney when attempting to run tests under buildo…
Chris McDonough authored
23 try:
24 README = open(os.path.join(here, 'README.txt')).read()
25 CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
26 except IOError:
27 README = CHANGES = ''
612d747 Start on bfg.
Chris McDonough authored
28
01a6e56 Move to Chameleon.
Chris McDonough authored
29 install_requires=[
b07cfed - Tests can be run with coverage output if you've got ``nose``
Chris McDonough authored
30 'setuptools',
81447b5 Depend on new "Chameleon" package (rather than individual chameleon.z…
Chris McDonough authored
31 'Chameleon',
32 'sourcecodegen>=0.6.11', # tests fail without this requirement? (wtf)
e218b2a - Prevent PyPI installation failure due to ``easy_install`` trying way
Chris McDonough authored
33 'Paste > 1.7', # temp version pin to prevent PyPi install failure :-(
cb349cc @hathawsh Declared the Paste and PasteDeploy dependencies.
hathawsh authored
34 'PasteDeploy',
cbdc369 Features
Chris McDonough authored
35 'PasteScript',
36 'WebOb',
ba9b0e6 Merge "c-free" branch to trunk.
Chris McDonough authored
37 'zope.interface >= 3.5.1', # 3.5.0 comment: "allow to bootstrap on jython"
38 'zope.component >= 3.6.0', # independent of zope.hookable
1add638 - Add explicit dependencies on ``zope.deferredimport`` and
Chris McDonough authored
39 'zope.deprecation',
8b11d80 Depend on Zope packages expliticly instead of having them come from c…
Chris McDonough authored
40 'repoze.zcml',
1216ad5 - Move LRU cache implementation into a separate package
Chris McDonough authored
41 'repoze.lru',
5a7f9a4 Features
Chris McDonough authored
42 'martian',
01a6e56 Move to Chameleon.
Chris McDonough authored
43 ]
44
a9fed76 Checkpoint. Not 100% test coverage.
Chris McDonough authored
45 if sys.version_info[:2] < (2, 6):
46 install_requires.append('simplejson')
47
612d747 Start on bfg.
Chris McDonough authored
48 setup(name='repoze.bfg',
49 version=__version__,
131f5f3 Prep for 1.1 final release.
Chris McDonough authored
50 description='A WSGI web framework influenced by Zope, Django, and Pylons',
612d747 Start on bfg.
Chris McDonough authored
51 long_description=README + '\n\n' + CHANGES,
52 classifiers=[
53 "Intended Audience :: Developers",
54 "Programming Language :: Python",
55 "Topic :: Internet :: WWW/HTTP",
56 "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
57 "Topic :: Internet :: WWW/HTTP :: WSGI",
58 "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
59 ],
60 keywords='web wsgi bfg zope',
61 author="Agendaless Consulting",
62 author_email="repoze-dev@lists.repoze.org",
298dfd8 Fix URL.
Chris McDonough authored
63 url="http://bfg.repoze.org",
612d747 Start on bfg.
Chris McDonough authored
64 license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
65 packages=find_packages(),
66 include_package_data=True,
e36f572 Make zope.testing a tests_require dependency only.
Chris McDonough authored
67 namespace_packages = ['repoze', 'repoze.bfg'],
612d747 Start on bfg.
Chris McDonough authored
68 zip_safe=False,
01a6e56 Move to Chameleon.
Chris McDonough authored
69 install_requires = install_requires,
d322ac3 Get rid of direct dependency on zope.testing by creating our own addC…
Chris McDonough authored
70 tests_require= install_requires + ['Sphinx', 'docutils', 'coverage'],
612d747 Start on bfg.
Chris McDonough authored
71 test_suite="repoze.bfg.tests",
72 entry_points = """\
b5c35e4 Add a paster template.
Chris McDonough authored
73 [paste.paster_create_template]
d14697e @tseaver Prepare for additional paster templates.
tseaver authored
74 bfg_starter=repoze.bfg.paster:StarterProjectTemplate
e61f339 @tseaver Renamed the existing BFG paster template to ``bfg_starter``.
tseaver authored
75 bfg_zodb=repoze.bfg.paster:ZODBProjectTemplate
7a0439f - Added a ``routesalchemy`` Paster template. This paster template
Chris McDonough authored
76 bfg_routesalchemy=repoze.bfg.paster:RoutesAlchemyProjectTemplate
ad3602b @cguardia restored missing bfg_alchemy template
cguardia authored
77 bfg_alchemy=repoze.bfg.paster:AlchemyProjectTemplate
1563758 - A paster command has been added named "bfgshell". This command can
Chris McDonough authored
78 [paste.paster_command]
79 bfgshell=repoze.bfg.paster:BFGShellCommand
612d747 Start on bfg.
Chris McDonough authored
80 """
81 )
82
Something went wrong with that request. Please try again.