Skip to content

Commit 0dafceb

Browse files
committed
finish packaging
1 parent 4fd5f7e commit 0dafceb

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Also, during the binlog syncing, this tool will save the binlog sync position, s
88
## Installation
99
By following these steps.
1010
##### 1. Python3
11-
This tool is written in Python3.4, so you must install Python3.4 first, by following [this guide](https://docs.python.org/3.4/using/index.html)
11+
This tool is written in Python3.4, so you must install Python3.4 or above first, by following [this guide](https://docs.python.org/3.4/using/index.html)
1212
##### 2. ibxml2 and libxslt
1313
Also, this tool depends on python lxml package, so that you should install the lxml's dependecies correctly, the libxml2 and libxslt are required.
1414

@@ -30,14 +30,10 @@ And then, mysqldump is required.
3030

3131

3232
##### 4. this tool
33-
Then clone this repo and install dependencies
33+
Then install this tool
3434

3535
```
36-
git clone https://github.com/zhongbiaodev/py-mysql-elasticsearch-sync.git
37-
38-
cd py-mysql-elasticsearch-sync
39-
40-
pip3 install -r requirements.txt
36+
pip3 install py-mysql-elasticsearch-sync
4137
```
4238

4339
## Configuration
@@ -67,6 +63,6 @@ We provide an upstart script to help you deploy this tool,since we use virtualen
6763

6864

6965
## TODO
70-
- [ ] Packaging
7166
- [ ] MultiIndex Supporting
7267
- [ ] Multi table Supporting
68+
- [ ] Python version compact

src/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from pymysqlreplication import BinLogStreamReader
1414
from pymysqlreplication.row_event import DeleteRowsEvent, UpdateRowsEvent, WriteRowsEvent
1515

16-
__version__ = '0.2.0'
16+
__version__ = '0.2.1'
1717

1818

1919
# The magic spell for removing invalid characters in xml stream.

0 commit comments

Comments
 (0)