python-PyMySQL/setup.py
2023-04-13 22:43:18 +08:00

39 lines
1.2 KiB
Python

#!/usr/bin/env python
from setuptools import setup, find_packages
version = "1.0.3"
with open("./README.md", encoding="utf-8") as f:
readme = f.read()
setup(
name="PyMySQL",
version=version,
url="https://github.com/PyMySQL/PyMySQL/",
project_urls={
"Documentation": "https://pymysql.readthedocs.io/",
},
description="Pure Python MySQL Driver",
long_description=readme,
packages=find_packages(exclude=["tests*", "pymysql.tests*"]),
python_requires=">=3.6",
extras_require={
"rsa": ["cryptography"],
"ed25519": ["PyNaCl>=1.4.0"],
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"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",
],
keywords="MySQL",
)