Skip to content

Commit

Permalink
Bump version and tweak setup.py (#540)
Browse files Browse the repository at this point in the history
  • Loading branch information
jettify committed Nov 26, 2020
1 parent 0fc109d commit 0a8af23
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Changes
-------

0.0.21 (2020-1X-XX)
0.0.21 (2020-11-26)
^^^^^^^^^^^^^^^^^^^

* Allow to use custom Cursor subclasses #374
Expand Down
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@

FLAGS=

checkrst:
python setup.py check --restructuredtext

flake:
pyroma:
pyroma -d .


flake:checkrst pyroma
flake8 aiomysql tests examples

test: flake
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion aiomysql/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__ = [

Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ def read_version():
'Framework :: AsyncIO',
]

keywords = ["mysql", "asyncio", "aiomysql"]


setup(name='aiomysql',
version=read_version(),
Expand All @@ -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)

0 comments on commit 0a8af23

Please sign in to comment.