diff --git a/CHANGES.txt b/CHANGES.txt index 522322b1..d0f6b604 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,7 +1,7 @@ Changes ------- -0.0.21 (2020-1X-XX) +0.0.21 (2020-11-26) ^^^^^^^^^^^^^^^^^^^ * Allow to use custom Cursor subclasses #374 diff --git a/Makefile b/Makefile index 3086d096..542b2c20 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,14 @@ FLAGS= +checkrst: + python setup.py check --restructuredtext -flake: +pyroma: + pyroma -d . + + +flake:checkrst pyroma flake8 aiomysql tests examples test: flake @@ -12,6 +18,7 @@ test: flake vtest: py.test -s -v $(FLAGS) ./tests/ + cov cover coverage: flake py.test -s -v --cov-report term --cov-report html --cov aiomysql ./tests @echo "open file://`pwd`/htmlcov/index.html" diff --git a/aiomysql/__init__.py b/aiomysql/__init__.py index a40379b6..f5e74aee 100644 --- a/aiomysql/__init__.py +++ b/aiomysql/__init__.py @@ -33,7 +33,7 @@ from .cursors import Cursor, SSCursor, DictCursor, SSDictCursor from .pool import create_pool, Pool -__version__ = '0.0.20' +__version__ = '0.0.21' __all__ = [ diff --git a/requirements-dev.txt b/requirements-dev.txt index cbd7f211..70e6fd13 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -11,3 +11,4 @@ sphinx>=1.8.1, <=3.0.3 sphinxcontrib-asyncio==0.2.0 sqlalchemy>1.2.12,<=1.3.16 uvloop>=0.11.2,<=0.14.0; python_version >= '3.5' +pyroma==2.6 diff --git a/setup.py b/setup.py index e151f3a4..290c2075 100755 --- a/setup.py +++ b/setup.py @@ -47,6 +47,8 @@ def read_version(): 'Framework :: AsyncIO', ] +keywords = ["mysql", "asyncio", "aiomysql"] + setup(name='aiomysql', version=read_version(), @@ -62,4 +64,5 @@ def read_version(): packages=find_packages(exclude=['tests', 'tests.*']), install_requires=install_requires, extras_require=extras_require, + keywords=keywords, include_package_data=True)