perf: 修改安装包命名

This commit is contained in:
dqy
2024-05-26 17:04:27 +08:00
parent 569497f79e
commit 6967a154f7
2 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -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