[Zodb-checkins] CVS: ZODB4/BDBStorage - setup.py:1.1

Barry Warsaw barry@wooz.org
Wed, 4 Dec 2002 14:38:09 -0500


Update of /cvs-repository/ZODB4/BDBStorage
In directory cvs.zope.org:/tmp/cvs-serv15902

Added Files:
	setup.py 
Log Message:
intermediate

=== Added File ZODB4/BDBStorage/setup.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################

# Distuils setup.py simply for building the _helper extension.

import sys
from distutils.core import setup, Extension
from __init__ import __version__

# The _helper module is not compatible with anything before Python 2.2.2
if sys.hexversion < 0x02020200:
    raise RuntimeError, 'not compatible with Python < 2.2.2'

helper = Extension(name='_helper',
                   sources=['_helper.c'],
                   )

setup(name='BDBStorage',
      version=__version__,
      description='Berkeley storages for ZODB4',
      author='Zope Corporation',
      author_email='zodb-dev@zope.org',
      url='http://www.zope.org/Wikis/ZODB/BerkeleyStorage',
      packages=['BDBStorage', 'BDBStorage.tests'],
      ext_modules=[helper],
      )