oyeahz_test
##简介 组件发布测试 ##配置项目 ###步骤1 1、创建一个目录,作为发布项目的名称,即你的包名
2、目录里创建一个py文件 __init__.py,内容name = "your pkg name"
3、目录里创建对外输出的python文件
4、拷贝一份setup.py文件,并修改关键参数
1、name就是模块名
2、version就是版本号
3、packages数组填模块名
####步骤2 1.python3 -m pip install setuptools wheel twine
2.python setup.py sdist bdist_wheel
3.如果报错 pip3 install wheel , pip3 install twine
4.python3 -m twine upload dist/*
Metadata
Release files for oyeahz-test 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| oyeahz_test-0.0.6.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oyeahz_test-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.4 kB
Release files / oyeahz_test-0.0.6.tar.gz
| Download URL | oyeahz_test-0.0.6.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b605382cb4d280a5f3c22275f282c8b7efde62c4941b59e63c86f4a1c2fc29a
|
|
BLAKE2b-256 checksum How to use checksums |
c55af3dc75528273a2cbe4a66fcc8b7bb8687eb1e5c914b18f8fdf9d88c23f3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.2
|
Release files / oyeahz_test-0.0.6-py3-none-any.whl
| Download URL | oyeahz_test-0.0.6-py3-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c01261f65e1982271d3d1208151f3e4431ad62e7332205c43ab48e7248fd55f
|
|
BLAKE2b-256 checksum How to use checksums |
27da693ddc0c87e85d478a6017989f9fa985618f8ec9e0a3dafd9c643ab8e823
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.2
|