|
| 1 | +from distutils.core import setup |
| 2 | + |
| 3 | +import warnings |
| 4 | +warnings.filterwarnings('ignore', 'Unknown distribution option') |
| 5 | + |
| 6 | +import sys |
| 7 | +# patch distutils if it can't cope with the "classifiers" keyword |
| 8 | +if sys.version < '2.2.3': |
| 9 | + from distutils.dist import DistributionMetadata |
| 10 | + DistributionMetadata.classifiers = None |
| 11 | + DistributionMetadata.download_url = None |
| 12 | + |
| 13 | +__version__ = '0.8.1' |
| 14 | + |
| 15 | +setup( |
| 16 | + name='DBUtils', |
| 17 | + version=__version__, |
| 18 | + description='Database connections for multi-threaded environments.', |
| 19 | + long_description='''\ |
| 20 | +DBUtils is a suite of tools providing solid, persistent and pooled connections |
| 21 | +to a database that can be used in all kinds of multi-threaded environments |
| 22 | +like Webware for Python or other web application servers. The suite supports |
| 23 | +DB-API 2 compliant database interfaces and the classic PyGreSQL interface. |
| 24 | +''', |
| 25 | + classifiers=['Development Status :: 4 - Beta', |
| 26 | + 'Environment :: Web Environment', |
| 27 | + 'Intended Audience :: Developers', |
| 28 | + 'License :: OSI Approved :: Python License (CNRI Python License)', |
| 29 | + 'Programming Language :: Python', |
| 30 | + 'Topic :: Database', |
| 31 | + 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', |
| 32 | + 'Topic :: Software Development :: Libraries :: Python Modules' |
| 33 | + ], |
| 34 | + author='Christoph Zwerschke', |
| 35 | + author_email='cito@online.de', |
| 36 | + url='http://www.webwareforpython.org/DBUtils', |
| 37 | + download_url='http://www.webwareforpython.org/downloads/DBUtils/', |
| 38 | + platforms=['any'], |
| 39 | + license='CNRI Python License', |
| 40 | + packages=['DBUtils', 'DBUtils.Examples', 'DBUtils.Testing'], |
| 41 | + package_data={'DBUtils': ['Docs/*']} |
| 42 | +) |
0 commit comments