forked from PyMySQL/PyMySQL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·45 lines (41 loc) · 1.46 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
#!/usr/bin/env python
from setuptools import setup, find_packages
version_tuple = __import__('pymysql').VERSION
if version_tuple[3] is not None:
version = "%d.%d.%d_%s" % version_tuple
else:
version = "%d.%d.%d" % version_tuple[:3]
try:
with open('README.rst') as f:
readme = f.read()
except IOError:
readme = ''
setup(
name="PyMySQL",
version=version,
url='https://github.com/PyMySQL/PyMySQL/',
download_url = 'https://github.com/PyMySQL/PyMySQL/tarball/pymysql-%s' % version,
author='yutaka.matsubara',
author_email='[email protected]',
maintainer='Marcel Rodrigues',
maintainer_email='[email protected]',
description='Pure-Python MySQL Driver',
long_description=readme,
license="MIT",
packages=find_packages(),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: IronPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Database',
]
)