diff --git a/README.rst b/README.rst index 228e115..ee29f1b 100644 --- a/README.rst +++ b/README.rst @@ -13,6 +13,9 @@ persist-queue - A thread-safe, disk-based queue for Python .. image:: https://img.shields.io/pypi/v/persist-queue.svg :target: https://pypi.python.org/pypi/persist-queue +.. image:: https://img.shields.io/pypi/pyversions/persist-queue + :alt: PyPI - Python Version + ``persist-queue`` implements a file-based queue and a serial of sqlite3-based queues. The goals is to achieve following requirements: * Disk-based: each queued item should be stored in disk in case of any crash. @@ -41,8 +44,8 @@ Join `persist-queue `_, `persist-queue` will drop any Python 2 support in future version `1.0.0`, no new feature will be developed under Python 2. +- `persist-queue` drops Python 2 support since version `1.0.0`, no new feature will be developed under Python 2 as `Python 2 was sunset on January 1, 2020 `_. - `Python 3.4 release has reached end of life `_ and `DBUtils `_ ceased support for `Python 3.4`, `persist queue` drops MySQL based queue for python 3.4 since version 0.8.0. other queue implementations such as file based queue and sqlite3 based queue are still workable. diff --git a/scripts/publish.sh b/scripts/publish.sh index 1b32e02..31d835d 100644 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -8,7 +8,7 @@ if [[ "$NAME" != "persist-queue" ]];then fi rm -rf ./build/*.* ./dist/*.* python setup.py build sdist -python setup.py build bdist_wheel +python setup.py build bdist_wheel # requires `pip install wheel` twine check ${BASE_DIR}/dist/*.tar.gz twine check ${BASE_DIR}/dist/*.whl twine upload ${BASE_DIR}/dist/* diff --git a/setup.cfg b/setup.cfg index 2a9acf1..526aeb2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,2 @@ [bdist_wheel] -universal = 1 +universal = 0 diff --git a/setup.py b/setup.py index e391eec..24f84c4 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,6 @@ def get_extras(): 'Programming Language :: Python', 'Programming Language :: Python :: Implementation', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', diff --git a/tox.ini b/tox.ini index 857d33a..7b3ef5b 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,7 @@ minversion = 2.0 skipsdist = True recreate = false -envlist = py34, py35, py36, py37, py38, py39, py310, py311, py312, pep8, cover +envlist = py35, py36, py37, py38, py39, py310, py311, py312, pep8, cover deps = -r{toxinidir}/test-requirements.txt -r{toxinidir}/extra-requirements.txt -r{toxinidir}/requirements.txt