forked from PyMySQL/PyMySQL
-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
executable file
·52 lines (48 loc) · 1.61 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
49
50
51
52
#!/usr/bin/env python
import io
from setuptools import setup, find_packages
exec(open("trio_mysql/_version.py", encoding="utf-8").read())
version = '.'.join(str(x) for x in VERSION[:-1])
if VERSION[-1] is not None:
version += "_" + VERSION[-1]
with io.open('./README.rst', encoding='utf-8') as f:
readme = f.read()
setup(
name="trio_mysql",
version=version,
url='https://github.com/python-trio/trio-mysql/',
author='Matthias Urlichs',
author_email='[email protected]',
project_urls={
"Documentation": "https://trio_mysql.readthedocs.io/",
},
description='Pure Python MySQL Driver',
long_description=readme,
license="MIT",
install_requires=[
"trio",
],
extras_require={
"rsa": ["cryptography"],
"ed25519": ["PyNaCl>=1.4.0"],
},
setup_requires=['pytest-runner'],
tests_require=['pytest'],
packages=find_packages(exclude=['tests*', 'trio_mysql.tests*']),
classifiers=[
'Development Status :: 5 - Production/Stable',
'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',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Database',
'Framework :: Trio',
],
keywords="MySQL",
)