Skip to content

Commit 7abda7e

Browse files
committed
Added standard installer to DBUtils
1 parent 4bfd354 commit 7abda7e

4 files changed

Lines changed: 46 additions & 1 deletion

File tree

DBUtils/Examples/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# DBUtils examples
1+
# DBUtils Examples

DBUtils/Testing/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# DBUtils Testing

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
include DBUtils/Docs/*
2+
prune DBUtils/Docs/.svn

setup.py

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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

Comments
 (0)