forked from PyMySQL/PyMySQL
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
25 lines (21 loc) · 662 Bytes
/
setup.py
File metadata and controls
25 lines (21 loc) · 662 Bytes
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
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version_tuple = __import__('pymysql').VERSION
if version_tuple[2] is not None:
version = "%d.%d_%s" % version_tuple
else:
version = "%d.%d" % version_tuple[:2]
setup(
name = "PyMySQL",
version = version,
url = 'http://code.google.com/p/pymysql',
author = 'yutaka.matsubara',
author_email = 'yutaka.matsubara@gmail.com',
maintainer = 'David.Story',
maintainer_email = 'iDavidStory@gmail.com',
description = 'Pure Python MySQL Driver ',
license = "MIT",
packages = ['pymysql', 'pymysql.constants', 'pymysql.tests']
)