Metadata-Version: 2.1
Name: pdf-client-wrapper
Version: 0.1.2
Summary: pdf client wrapper, more easy to use pdf-server
Home-page: https://e.coding.net/xymedimg/pdf-server/pdf-client-wrapper.git
Author: Daryl Xu
Author-email: xuziqiang@zyheal.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.8
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# pdf-client-wrapper

## 使用说明
``` bash
# pts_render pdf容器地址 模板目录 pdf文件位置(`.`代表当前模板目录下生成pdf)
pts_render 192.168.1.218:50055 test-data/xxx .
```

## 开发环境搭建

1. 拉取所有子仓库
1. 安装开发库
1. 执行脚本 `bin/compile_proto.sh`，编译 `proto` 文件

## 从源代码安装

``` bash
# TODO 注意 0.0.1 版本一定要加 -e 参数，因为模块目录下没有 __init__.py 文件，安装的时候该目录的代码会被忽略
pip install -e git+https://e.coding.net/xymedimg/pdf-server/pdf-client-wrapper.git@0.0.1#egg=pdf-client-wrapper
pipenv install -e git+https://e.coding.net/xymedimg/pdf-server/pdf-client-wrapper.git@0.0.1#egg=pdf-client-wrapper
```

## 发布版本
修改setup.py中的版本号：version="v0.1.x",
```bash
python setup.py sdist bdist_wheel
pip install twine
twine upload dist/*
# 输入pypi账号和密码
```

