Skip to content

Commit 0a8af23

Browse files
authored
Bump version and tweak setup.py (#540)
1 parent 0fc109d commit 0a8af23

File tree

5 files changed

+14
-3
lines changed

5 files changed

+14
-3
lines changed

CHANGES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Changes
22
-------
33

4-
0.0.21 (2020-1X-XX)
4+
0.0.21 (2020-11-26)
55
^^^^^^^^^^^^^^^^^^^
66

77
* Allow to use custom Cursor subclasses #374

Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@
22

33
FLAGS=
44

5+
checkrst:
6+
python setup.py check --restructuredtext
57

6-
flake:
8+
pyroma:
9+
pyroma -d .
10+
11+
12+
flake:checkrst pyroma
713
flake8 aiomysql tests examples
814

915
test: flake
@@ -12,6 +18,7 @@ test: flake
1218
vtest:
1319
py.test -s -v $(FLAGS) ./tests/
1420

21+
1522
cov cover coverage: flake
1623
py.test -s -v --cov-report term --cov-report html --cov aiomysql ./tests
1724
@echo "open file://`pwd`/htmlcov/index.html"

aiomysql/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
from .cursors import Cursor, SSCursor, DictCursor, SSDictCursor
3434
from .pool import create_pool, Pool
3535

36-
__version__ = '0.0.20'
36+
__version__ = '0.0.21'
3737

3838
__all__ = [
3939

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ sphinx>=1.8.1, <=3.0.3
1111
sphinxcontrib-asyncio==0.2.0
1212
sqlalchemy>1.2.12,<=1.3.16
1313
uvloop>=0.11.2,<=0.14.0; python_version >= '3.5'
14+
pyroma==2.6

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ def read_version():
4747
'Framework :: AsyncIO',
4848
]
4949

50+
keywords = ["mysql", "asyncio", "aiomysql"]
51+
5052

5153
setup(name='aiomysql',
5254
version=read_version(),
@@ -62,4 +64,5 @@ def read_version():
6264
packages=find_packages(exclude=['tests', 'tests.*']),
6365
install_requires=install_requires,
6466
extras_require=extras_require,
67+
keywords=keywords,
6568
include_package_data=True)

0 commit comments

Comments
 (0)