-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathsetup.py
executable file
·48 lines (42 loc) · 1.6 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
"""Setup Script for DBUtils"""
import warnings
from distutils.core import setup
from sys import version_info
py_version = version_info[:2]
if py_version != (2, 7) and not (3, 5) <= py_version < (4, 0):
raise ImportError('Python %d.%d is not supported by DBUtils.' % py_version)
warnings.filterwarnings('ignore', 'Unknown distribution option')
__version__ = '2.0'
readme = open('README.md').read()
setup(
name='DBUtils',
version=__version__,
description='Database connections for multi-threaded environments.',
long_description=readme,
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Database',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
],
author='Christoph Zwerschke',
author_email='cito@online.de',
url='https://webwareforpython.github.io/DBUtils/',
platforms=['any'],
license='MIT License',
packages=['dbutils'],
zip_safe=False,
)