diff --git a/PyMySQL-1.0.2.tar.gz b/PyMySQL-1.0.2.tar.gz deleted file mode 100644 index 28fcceb..0000000 Binary files a/PyMySQL-1.0.2.tar.gz and /dev/null differ diff --git a/PyMySQL-1.0.3.tar.gz b/PyMySQL-1.0.3.tar.gz new file mode 100644 index 0000000..bf59481 Binary files /dev/null and b/PyMySQL-1.0.3.tar.gz differ diff --git a/python-PyMySQL.spec b/python-PyMySQL.spec index 6c667fb..4487bec 100644 --- a/python-PyMySQL.spec +++ b/python-PyMySQL.spec @@ -1,11 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: python-PyMySQL -Version: 1.0.2 +Version: 1.0.3 Release: 1 Summary: Pure Python MySQL Client License: MIT URL: https://pypi.python.org/pypi/PyMySQL/ -Source0: https://files.pythonhosted.org/packages/60/ea/33b8430115d9b617b713959b21dfd5db1df77425e38efea08d121e83b712/PyMySQL-1.0.2.tar.gz +Source0: https://files.pythonhosted.org/packages/7a/6f/b3fadf41239b9ca7ea3857c440c499fd2e9e0f410bb942bd8d593dce4bd6/PyMySQL-1.0.3.tar.gz +Source1: setup.py BuildArch: noarch BuildRequires: python3-cryptography python3-devel python3-setuptools @@ -32,6 +33,7 @@ Most public APIs are compatible with mysqlclient and MySQLdb. %prep %autosetup -n PyMySQL-%{version} +cp %{SOURCE1} ./ %build %py3_build @@ -71,6 +73,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Thu Apr 6 2023 wubijie - 1.0.3-1 +- Update package to version 1.0.3 + * Tue Nov 22 2022 jiangxinyu - 1.0.2-1 - Update package to version 1.0.2 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..3ebd999 --- /dev/null +++ b/setup.py @@ -0,0 +1,38 @@ +#!/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", +)