File tree Expand file tree Collapse file tree 5 files changed +25
-29
lines changed Expand file tree Collapse file tree 5 files changed +25
-29
lines changed Original file line number Diff line number Diff line change @@ -83,13 +83,17 @@ jobs:
83
83
run : |
84
84
python -m pip install --upgrade --requirement requirements-dev.txt
85
85
86
- - name : Install aiomysql
86
+ - name : Build distribution packages
87
87
run : |
88
- python -m pip install .
88
+ python -m build
89
+
90
+ - name : Check package description
91
+ run : |
92
+ python -m twine check --strict dist/*
89
93
90
- - name : Check rst
94
+ - name : Install aiomysql
91
95
run : |
92
- python setup.py check --restructuredtext
96
+ python -m pip install .
93
97
94
98
# this ensures our database is ready. typically by the time the preparations have completed its first start logic.
95
99
# unfortunately we need this hacky workaround as GitHub Actions service containers can't reference data from our repo.
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ To be included in 1.0.0 (unreleased)
23
23
* Fix error packet handling for SSCursor #428
24
24
* Required python version is now properly documented in python_requires instead of failing on setup.py execution #731
25
25
* Add rsa extras_require depending on PyMySQL[rsa] #557
26
+ * Migrate to PEP 517 build system #746
26
27
27
28
28
29
0.0.22 (2021-11-14)
Original file line number Diff line number Diff line change
1
+ [build-system ]
2
+ requires = [
3
+ # Essentials
4
+ " setuptools >= 42" ,
5
+ ]
6
+ build-backend = " setuptools.build_meta"
Original file line number Diff line number Diff line change 1
1
[metadata]
2
2
name = aiomysql
3
+ version = attr: aiomysql.__version__
3
4
url = https://github.com/aio-libs/aiomysql
4
5
download_url = https://pypi.python.org/pypi/aiomysql
5
6
project_urls =
@@ -9,6 +10,8 @@ project_urls =
9
10
GitHub: issues = https://github.com/aio-libs/aiomysql/issues
10
11
GitHub: discussions = https://github.com/aio-libs/aiomysql/discussions
11
12
description = MySQL driver for asyncio.
13
+ long_description = file: README.rst, CHANGES.txt
14
+ long_description_content_type = text/x-rst
12
15
author = Nikolay Novik
13
16
14
17
classifiers =
@@ -38,6 +41,8 @@ platforms =
38
41
python_requires = >=3.7
39
42
include_package_data = True
40
43
44
+ packages = find:
45
+
41
46
# runtime requirements
42
47
install_requires =
43
48
PyMySQL>=1.0
47
52
sqlalchemy>=1.0,<1.4
48
53
rsa =
49
54
PyMySQL[rsa]>=1.0
55
+
56
+ [options.packages.find]
57
+ exclude =
58
+ tests
59
+ tests.*
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments