You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by di...@apache.org on 2019/11/21 13:22:23 UTC

[rocketmq-client-python] 01/01: feat(platforms): switch branch ctypes to master to support both python2.x and python 3.x

This is an automated email from the ASF dual-hosted git repository.

dinglei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-client-python.git

commit 439dff5b03d3819c0ab19b2b8189a4e4bd67fd2c
Merge: 08bc79c bf88e10
Author: ShannonDing <li...@163.com>
AuthorDate: Thu Nov 21 21:21:36 2019 +0800

    feat(platforms): switch branch ctypes to master to support both python2.x and  python 3.x

 .bumpversion.cfg               |  22 ++
 .coveragerc                    |  10 +
 .gitignore                     |  77 +++++-
 .travis.yml                    |  77 ++++--
 CMakeLists.txt                 | 219 -----------------
 MANIFEST.in                    |   3 +
 Makefile                       |  49 ----
 README.md                      |  89 ++++---
 changelog                      |   7 -
 ci/Dockerfile                  |  38 +++
 cmake/ConfigureChecks.cmake    | 356 ---------------------------
 cmake/Findrocketmq.cmake       | 115 ---------
 dev-requirements.txt           |  19 ++
 doc/Introduction.md            | 161 -------------
 doc/api-doc/consumer-push.md   |  81 -------
 doc/api-doc/message.md         | 135 -----------
 doc/api-doc/producer.md        | 106 --------
 doc/quick-start.md             |  64 -----
 install_boostpython.sh         |  57 -----
 install_gtest.sh               |  60 -----
 manylinux.sh                   |  28 +++
 package.sh                     |  86 -------
 project/CMakeLists.txt         |  61 -----
 project/Makefile               |  98 --------
 project/tool.mak               |  38 ---
 pytest.ini                     |  17 ++
 rocketmq/__init__.py           |  18 ++
 rocketmq/client.py             | 433 +++++++++++++++++++++++++++++++++
 rocketmq/consts.py             |  44 ++++
 rocketmq/exceptions.py         | 102 ++++++++
 rocketmq/ffi.py                | 267 +++++++++++++++++++++
 sample/__init__.py             |  22 --
 sample/base.py                 |  23 --
 sample/testConsumer.py         |  52 ----
 sample/testProducer.py         | 100 --------
 samples/__init__.py            |   0
 samples/consumer.py            |  38 +++
 samples/producer.py            |  87 +++++++
 setup.cfg                      |  25 ++
 setup.py                       | 137 +++++++----
 src/PythonWrapper.cpp          | 533 -----------------------------------------
 src/PythonWrapper.h            | 167 -------------
 test/TestConsumeMessages.py    |  94 --------
 test/TestSendMessages.py       | 290 ----------------------
 test/__init__.py               |  22 --
 tests/conftest.py              |  46 ++++
 tests/test_consumer.py         |  93 +++++++
 tests/test_producer.py         |  78 ++++++
 unitests/CMakeLists.txt        |  73 ------
 unitests/PythonWrapperTest.cpp |  56 -----
 50 files changed, 1647 insertions(+), 3226 deletions(-)