perf: 修改安装包命名
This commit is contained in:
@@ -92,13 +92,13 @@ python setup.py sdist bdist_wheel
|
|||||||
- 安装 .whl 文件:
|
- 安装 .whl 文件:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
pip install dist/my_project-0.1.0-py3-none-any.whl
|
pip install dist/backdoor_buster-0.1.0-py3-none-any.whl
|
||||||
```
|
```
|
||||||
|
|
||||||
- 安装 .tar.gz 文件:
|
- 安装 .tar.gz 文件:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
pip install dist/my_project-0.1.0.tar.gz
|
pip install dist/backdoor_buster-0.1.0.tar.gz
|
||||||
```
|
```
|
||||||
|
|
||||||
#### 上传到 PyPI
|
#### 上传到 PyPI
|
||||||
@@ -122,7 +122,7 @@ twine upload dist/*
|
|||||||
包上传到 PyPI 后,可以通过以下命令安装:
|
包上传到 PyPI 后,可以通过以下命令安装:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
pip install my_project
|
pip install backdoor_buster
|
||||||
```
|
```
|
||||||
|
|
||||||
### deb
|
### deb
|
||||||
|
@@ -84,13 +84,13 @@ python setup.py sdist bdist_wheel
|
|||||||
- 安装 .whl 文件:
|
- 安装 .whl 文件:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
pip install dist/my_project-0.1.0-py3-none-any.whl
|
pip install dist/backdoor_buster-0.1.0-py3-none-any.whl
|
||||||
```
|
```
|
||||||
|
|
||||||
- 安装 .tar.gz 文件:
|
- 安装 .tar.gz 文件:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
pip install dist/my_project-0.1.0.tar.gz
|
pip install dist/backdoor_buster-0.1.0.tar.gz
|
||||||
```
|
```
|
||||||
|
|
||||||
#### 上传到 PyPI
|
#### 上传到 PyPI
|
||||||
@@ -114,7 +114,7 @@ twine upload dist/*
|
|||||||
包上传到 PyPI 后,可以通过以下命令安装:
|
包上传到 PyPI 后,可以通过以下命令安装:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
pip install my_project
|
pip install backdoor_buster
|
||||||
```
|
```
|
||||||
|
|
||||||
### deb
|
### deb
|
||||||
|
Reference in New Issue
Block a user