Skip to content

Commit 194f3b6

Browse files
authored
Merge pull request #120 from peter-wangxu/pre-v0.5.0
Prepare for the release of v0.5.0
2 parents 5b71c6b + b48ef9d commit 194f3b6

3 files changed

Lines changed: 16 additions & 3 deletions

File tree

README.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@ Close the python console, and then we restart the queue from the same path,
236236
237237
Example usage with an auto-saving file based queue
238238
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
239+
240+
*Available since: v0.5.0*
241+
239242
By default, items added to the queue are persisted during the ``put()`` call,
240243
and items removed from a queue are only persisted when ``task_done()`` is
241244
called.
@@ -381,8 +384,8 @@ Due to the limitation of file queue described in issue `#89 <https://github.com/
381384

382385
Serialization via msgpack/json
383386
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
384-
- v0.4.1: Currently only available for file based Queue**
385-
- v0.4.2: Also available for SQLite3 based Queues**
387+
- v0.4.1: Currently only available for file based Queue
388+
- v0.4.2: Also available for SQLite3 based Queues
386389

387390
.. code-block:: python
388391

persistqueue/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# coding=utf-8
22
__author__ = 'Peter Wang'
33
__license__ = 'BSD'
4-
__version__ = '0.4.2'
4+
__version__ = '0.5.0'
55

66
from .exceptions import Empty, Full # noqa
77
from .queue import Queue # noqa

scripts/publish.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env bash
2+
BASE_DIR=`pwd`
3+
NAME=$(basename $BASE_DIR)
4+
if [[ "$NAME" != "persist-queue" ]];then
5+
echo "must run this in project root"
6+
exit 1
7+
fi
8+
python setup.py build sdist
9+
python setup.py build bdist_wheel
10+
twine upload ${BASE_DIR}/dist/*

0 commit comments

Comments
 (0)