rocketmq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ding...@apache.org
Subject [rocketmq-client-python] branch master updated: doc(readme): update prerequisites install.
Date Fri, 20 Dec 2019 03:47:50 GMT
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


The following commit(s) were added to refs/heads/master by this push:
     new 3fb373d  doc(readme): update prerequisites install.
3fb373d is described below

commit 3fb373d0c3ac7cdd040150993441cfd5895afdae
Author: dinglei <libya_003@163.com>
AuthorDate: Fri Dec 20 11:47:44 2019 +0800

    doc(readme): update prerequisites install.
    
    doc(readme): update prerequisites install.
---
 README.md | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/README.md b/README.md
index d06ee59..d0fcfe7 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,27 @@
 [![PyPI](https://img.shields.io/pypi/v/rocketmq-client-python.svg)](https://pypi.org/project/rocketmq-client-python)
 
 RocketMQ Python client, based on [rocketmq-client-cpp](https://github.com/apache/rocketmq-client-cpp),
supports Linux and macOS
+## Prerequisites
+
+### Install `librocketmq`
+rocketmq-client-python is a lightweight wrapper around [rocketmq-client-cpp](https://github.com/apache/rocketmq-client-cpp),
so you need install 
+`librocketmq` first.
+
+#### include file
+```bash
+git clone https://github.com/apache/rocketmq-client-cpp
+
+# By default, CFLAGS contains `/usr/local/include`
+sudo mkdir -p /usr/local/include/rocketmq/
+sudo cp rocketmq-client-cpp/include/* /usr/local/include/rocketmq
+```
+
+#### binary library
+your could download directly or build manually:
+
+- download specific release: [rocketmq-client-cpp](https://archive.apache.org/dist/rocketmq/rocketmq-client-cpp/1.2.4/rocketmq-client-cpp-1.2.4-bin-release.tar.gz)
+ and unzip the package, please choose the right version according to your OS and unzip it,
then copy the library files to to your `LD_LIBRARY_PATH` directory(as default, `/usr/local/lib/`
works finely).
+- build from source: [Build and Install](https://github.com/apache/rocketmq-client-cpp/tree/master#build-and-install)
 
 ## Installation
 


Mime
View raw message