-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to PEP 517 build system (#746)
- all remaining setuptools configuration is moved from setup.py to setup.cfg - description is now checked with twine rather than `setup.py check` Split from #734, including suggestions from @webknjaz Co-authored-by: Sviatoslav Sydorenko <[email protected]>
- Loading branch information
1 parent
c8a4334
commit 42532c8
Showing
5 changed files
with
25 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[build-system] | ||
requires = [ | ||
# Essentials | ||
"setuptools >= 42", | ||
] | ||
build-backend = "setuptools.build_meta" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
[metadata] | ||
name = aiomysql | ||
version = attr: aiomysql.__version__ | ||
url = https://github.com/aio-libs/aiomysql | ||
download_url = https://pypi.python.org/pypi/aiomysql | ||
project_urls = | ||
|
@@ -9,6 +10,8 @@ project_urls = | |
GitHub: issues = https://github.com/aio-libs/aiomysql/issues | ||
GitHub: discussions = https://github.com/aio-libs/aiomysql/discussions | ||
description = MySQL driver for asyncio. | ||
long_description = file: README.rst, CHANGES.txt | ||
long_description_content_type = text/x-rst | ||
author = Nikolay Novik | ||
author_email = [email protected] | ||
classifiers = | ||
|
@@ -38,6 +41,8 @@ platforms = | |
python_requires = >=3.7 | ||
include_package_data = True | ||
|
||
packages = find: | ||
|
||
# runtime requirements | ||
install_requires = | ||
PyMySQL>=1.0 | ||
|
@@ -47,3 +52,8 @@ sa = | |
sqlalchemy>=1.0,<1.4 | ||
rsa = | ||
PyMySQL[rsa]>=1.0 | ||
|
||
[options.packages.find] | ||
exclude = | ||
tests | ||
tests.* |