1. 制作requirement.txt
pip freeze > requirement.txt
2. 打包
****pip install --upgrade pip twine wheel setuptools
python setup.py sdist bdist_wheel
twine upload dist/*
使用twine upload --skip-existing dist/* 来忽略已经存在的库
3. 安装更新插件
pip install --upgrade tsdl
4. 参数说明
package_dir: 告诉Distutils哪些目录下的文件被映射到哪个源码包。一个例子:package_dir = {'': 'lib'},表示“root package”中的模块都在lib目录中。
Release files for ats-case 2.1.90
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ats_case-2.1.90.tar.gz | 25.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ats_case-2.1.90-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 57.6 kB
Release files / ats_case-2.1.90.tar.gz
| Download URL | ats_case-2.1.90.tar.gz |
|---|---|
| Size | 25.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f131baf7f4e9bbf10f5a88492944038e9370a472d666164a35def0a4c32d9b08
|
|
BLAKE2b-256 checksum How to use checksums |
c821164fc0afbfa4d7f0add0cb9a0c68ab2539aa3cef3d7b603f193824f773b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.1
|
Release files / ats_case-2.1.90-py3-none-any.whl
| Download URL | ats_case-2.1.90-py3-none-any.whl |
|---|---|
| Size | 32.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
900344dd7b5c75244cdea0c60aff4f2815d7ccd034540982e44a97c68395e512
|
|
BLAKE2b-256 checksum How to use checksums |
af0ebaf480ef5c3dc9d831e85e3ae91897f6e4326678c16b5db91569310cddbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.1
|