Skip to content

Commit

Permalink
Merge pull request #154 from blueyed/msgpack
Browse files Browse the repository at this point in the history
Use msgpack instead of msgpack-python
  • Loading branch information
JelleZijlstra committed Nov 13, 2018
2 parents 1765fbd + f96ecbb commit 37eedb6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ before_install:
install:
- pip install --upgrade pip setuptools wheel
- python setup.py install
- test $USE_MSGPACK == 1 && pip install msgpack-python || true
- test $USE_MSGPACK == 1 && pip install msgpack || true
- pip install pyflakes pycodestyle docutils codecov

script:
Expand Down
2 changes: 1 addition & 1 deletion aiozmq/rpc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
_MSGPACK_VERSION_STR = '.'.join(map(str, _MSGPACK_VERSION))

if msgpack_version < _MSGPACK_VERSION: # pragma: no cover
raise ImportError("aiozmq.rpc requires msgpack-python package"
raise ImportError("aiozmq.rpc requires msgpack package"
" (version >= {})".format(_MSGPACK_VERSION_STR))


Expand Down
4 changes: 2 additions & 2 deletions docs/glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ Glossary

Fast and compact binary serialization format.

See http://msgpack.org/ for standard description.
https://pypi.python.org/pypi/msgpack-python/ is Python implementation.
See http://msgpack.org/ for the description of the standard.
https://pypi.python.org/pypi/msgpack/ is the Python implementation.

pyzmq

Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ Also probably you want to use :mod:`aiozmq.rpc`.
.. _aiozmq-install-msgpack:

RPC module is **optional** and requires :term:`msgpack`. You can
install *msgpack-python* by executing::
install *msgpack* by executing::

pip3 install msgpack-python
pip3 install msgpack

.. note::

Expand Down
6 changes: 3 additions & 3 deletions docs/rpc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ The :mod:`aiozmq.rpc` supports three pairs of communications:
* :ref:`aiozmq-rpc-pushpull`
* :ref:`aiozmq-rpc-pubsub`

.. warning:: :mod:`aiozmq.rpc` module is **optional** and requires
:term:`msgpack`. You can install *msgpack-python* by executing::
.. warning:: The :mod:`aiozmq.rpc` module is **optional** and requires
:term:`msgpack`. You can install *msgpack* by executing::

pip3 install msgpack-python\>=0.4.0
pip3 install msgpack


.. _aiozmq-rpc-rpc:
Expand Down

0 comments on commit 37eedb6

Please sign in to comment.