try: from setuptools import setup except ImportError: from distutils.core import setup try: from distutils.dist import DistributionMetadata except ImportError: pass else: try: DistributionMetadata.classifiers except AttributeError: DistributionMetadata.classifiers = None try: DistributionMetadata.download_url except AttributeError: DistributionMetadata.download_url = None try: DistributionMetadata.package_data except AttributeError: DistributionMetadata.package_data = None try: DistributionMetadata.zip_safe except AttributeError: DistributionMetadata.zip_safe = None import warnings warnings.filterwarnings('ignore', 'Unknown distribution option') __version__ = '0.9.4' __revision__ = "$Rev: 6696 $" __date__ = "$Date: 2007-07-07 11:02:24 -0600 (Sat, 07 Jul 2007) $" setup( name='DBUtils', version=__version__, description='Database connections for multi-threaded environments.', long_description='''\ DBUtils is a suite of tools providing solid, persistent and pooled connections to a database that can be used in all kinds of multi-threaded environments like Webware for Python or other web application servers. The suite supports DB-API 2 compliant database interfaces and the classic PyGreSQL interface. ''', classifiers=['Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: Open Software License', 'Programming Language :: Python', 'Topic :: Database', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules' ], author='Christoph Zwerschke', author_email='cito@online.de', url='http://www.webwareforpython.org/DBUtils', download_url='http://www.webwareforpython.org/downloads/DBUtils/', platforms=['any'], license='Open Software License', packages=['DBUtils', 'DBUtils.Examples', 'DBUtils.Testing'], package_data={'DBUtils': ['Docs/*']}, zip_safe=0 )