uodate readme, test=doc

pull/1339/head
TianYuan 3 years ago committed by GitHub
parent d59a31b613
commit 8283a12d0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -41,8 +41,6 @@ conda install -y -c gcc_linux-64=8.4.0 gxx_linux-64=8.4.0
conda install -c conda-forge eigen boost cmake
```
## 区分install模式和develop模式
可以在 setup.py 中划分 install 的依赖(基本依赖)和 develop 的依赖 (开发者额外依赖)。 setup_info 中 `install_requires` 设置 install 的依赖,而在 `extras_require` 中设置 `develop` key 为 develop 的依赖。
@ -64,8 +62,6 @@ pip install paddlespeech
pip install -e .[develop]
```
## python 包的动态安装
可以使用 pip 包来实现动态安装:
@ -79,8 +75,6 @@ if int(pip.__version__.split('.')[0]) > 9:
main(['install', package_name])
```
## python 编包方法
#### 创建 pypi的账号
@ -120,9 +114,6 @@ twine upload dist/wheel包
主要可以参考这个[文档](https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/?highlight=find_packages)
## 关于发包前的准备工作
#### 拉分支

Loading…
Cancel
Save