# -!- coding: utf-8 -!-
# 这是我尝试进行构建的第一个python包
# 配置文件的优先级 setup.py < MANIFEST.in < setup.cfg
#创建.pypirc # windows的用户文件夹目录为: # C:UsersAdministrator.pypirc # .pypirc内容: # # [distutils] # index-servers = pypi # # [pypi] # username: 用户名 # password: 密码
#python setup.py register
#本地打包 #python setup.py sdist build #python setup.py bdist_wheel –universal
#上传到pypi #python setup.py sdist upload #python setup.py bdist_wheel upload
#或者使用twine上传,先安装twine # pip install twine #
rm -rf src/hello_python_demo_demo.egg-info dist build && python setup.py sdist build && python setup.py bdist_wheel –universal twine upload dist/*
Metadata
Release files for hello-python-demo 1.0.3
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 |
|---|---|---|---|---|
| hello_python_demo-1.0.3.tar.gz | 3.0 kB | Without provenance | Details for hello_python_demo-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hello_python_demo-1.0.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for hello_python_demo-1.0.3-py2.py3-none-any.whl |
Total release size: 7.7 kB
Release files / hello_python_demo-1.0.3.tar.gz
| Download URL | hello_python_demo-1.0.3.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3066f86c0f6ad2b7ca7ec42c5415f7d18fd9bb03c5405e0029cc769276ddb5a
|
|
BLAKE2b-256 checksum How to use checksums |
41ba151fc3350ea1eae4dc494d792fe78dbc1f215c9a864a7fc9e54caf38a5ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.10
|
Release files / hello_python_demo-1.0.3-py2.py3-none-any.whl
| Download URL | hello_python_demo-1.0.3-py2.py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0451048a7c4c34cae326d7343f2f026cbc59448fc73c7288316bf7097dcc1e75
|
|
BLAKE2b-256 checksum How to use checksums |
c70d0cba79582d2ca844ee46a4ae82abdb76e2f6866dd7f07c49ceecd462043e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.10
|
Security for hello-python-demo 1.0.3
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.