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
Latest commit
25 lines (21 loc) · 662 Bytes
/
Copy pathsetup.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:
fromsetuptoolsimportsetup
exceptImportError:
fromdistutils.coreimportsetup
version_tuple=__import__('pymysql').VERSION
ifversion_tuple[2] isnotNone:
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']
)