PySetup
Pypi 上传工具
安装
pip install pysetup --upgrade
使用流程
- 进入项目目录, 打开命令行界面
- 输入
pysetup init创建setup.py文件 - 修改
setup.py文件信息 - 输入
pysetup upload t打包并上传
命令
pysetup help: 查看命令列表pysetup init: 创建 setup.py 文件pysetup upload <is_clear=False>: 打包项目上传到 pypi(https://upload.pypi.org/legacy). [is_clear: 清除上传前后的打包文件]pysetup upload_test <is_clear=False>: 打包项目上传到 testpypi(https://test.pypi.org/legacy). [is_clear: 清除上传前后的打包文件]pysetup package: 打包项目.pysetup clear: 清除打包文件 (build/dist/*.egg-info).pysetup install_test <package_name>: 从 testpypi 安装测试包.
下次更新内容
- 保存 pypi/testpypi 登陆信息
- 查看 pypi 包名是否被占用
- 注册 pypi 包名
- 直接将包安装在 python 模块中, 而非从 testpypi 下载安装测试包
Metadata
Release files for pysetup 2019.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pysetup-2019.6.1.tar.gz | 3.1 kB | Without provenance | Details for pysetup-2019.6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pysetup-2019.6.1-py3-none-any.whl | Python 3 | none | any | Details for pysetup-2019.6.1-py3-none-any.whl |
Total release size: 8.5 kB
Release files / pysetup-2019.6.1.tar.gz
| Download URL | pysetup-2019.6.1.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e6d16be0cdd7069935ebe0695e9dd8e1a020434695b0765a9889715d8ed41dba
|
|
BLAKE2b-256 checksum How to use checksums |
8621c9db8f3df49ca4188a68ae9cc80266d10eaf7370215c44bde7157b1faf21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2
|
Release files / pysetup-2019.6.1-py3-none-any.whl
| Download URL | pysetup-2019.6.1-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fbec40dac3bb853cda7adfbf657ff049a2d0ea1a0d8c079ddb8a2026f5292a64
|
|
BLAKE2b-256 checksum How to use checksums |
0f458428c9dfab73dba751424ee6e33d6c5e33eae3a6d27cb55827326fb4888d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2
|
Security for pysetup 2019.6.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.