Chris McDonough
2010-07-04 4dc529e4bbc36b7e5e2bd3ea199a7929e407a267
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
d3cfd4 15 __version__ = '1.3a3'
612d74 16
CM 17 import os
a9fed7 18 import sys
612d74 19
CM 20 from setuptools import setup, find_packages
21
22 here = os.path.abspath(os.path.dirname(__file__))
357b40 23 try:
CM 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 = ''
01a6e5 28
CM 29 install_requires=[
7534ba 30     'Chameleon >= 1.2.3',
e218b2 31     'Paste > 1.7', # temp version pin to prevent PyPi install failure :-(
cb349c 32     'PasteDeploy',
cbdc36 33     'PasteScript',
4e27f9 34     'WebOb >= 0.9.7', # "default_charset" 
813d95 35     'repoze.lru',
CM 36     'setuptools',
ba9b0e 37     'zope.component >= 3.6.0', # independent of zope.hookable
103efb 38     'zope.configuration',
1add63 39     'zope.deprecation',
813d95 40     'zope.interface >= 3.5.1',  # 3.5.0 comment: "allow to bootstrap on jython"
e6fa66 41     'venusian >= 0.2',
7534ba 42     'translationstring',
01a6e5 43     ]
612d74 44
a9fed7 45 if sys.version_info[:2] < (2, 6):
CM 46     install_requires.append('simplejson')
47     
612d74 48 setup(name='repoze.bfg',
CM 49       version=__version__,
cc6a44 50       description='The repoze.bfg web application framework',
612d74 51       long_description=README + '\n\n' +  CHANGES,
CM 52       classifiers=[
53         "Intended Audience :: Developers",
54         "Programming Language :: Python",
c35ca1 55         "Framework :: BFG",
612d74 56         "Topic :: Internet :: WWW/HTTP",
CM 57         "Topic :: Internet :: WWW/HTTP :: WSGI",
c35ca1 58         "License :: Repoze Public License",
612d74 59         ],
cc6a44 60       keywords='web wsgi bfg',
4dc529 61       author="Chris McDonough, Agendaless Consulting",
612d74 62       author_email="repoze-dev@lists.repoze.org",
298dfd 63       url="http://bfg.repoze.org",
612d74 64       license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
CM 65       packages=find_packages(),
66       include_package_data=True,
e36f57 67       namespace_packages = ['repoze', 'repoze.bfg'],
612d74 68       zip_safe=False,
01a6e5 69       install_requires = install_requires,
bad02d 70       tests_require= install_requires + ['Sphinx', 'docutils', 'coverage',
CM 71                                          'twill'],
612d74 72       test_suite="repoze.bfg.tests",
CM 73       entry_points = """\
b5c35e 74         [paste.paster_create_template]
d14697 75         bfg_starter=repoze.bfg.paster:StarterProjectTemplate
e61f33 76         bfg_zodb=repoze.bfg.paster:ZODBProjectTemplate
7a0439 77         bfg_routesalchemy=repoze.bfg.paster:RoutesAlchemyProjectTemplate
ad3602 78         bfg_alchemy=repoze.bfg.paster:AlchemyProjectTemplate
156375 79         [paste.paster_command]
CM 80         bfgshell=repoze.bfg.paster:BFGShellCommand
612d74 81       """
CM 82       )
83