A small example package
Project description
介绍
这是一个简单的python包的教程,用于展示如何创建一个python包。
packaging_tutorial/
├── LICENSE
├── pyproject.toml
├── README.md
├── src/
│ └── example_package_YOUR_USERNAME_HERE/
│ ├── __init__.py
│ └── example.py
└── tests/
步骤
1. 打包
python3 -m build
将会生成dist
文件夹,包括:xxx.version.tar.gz
及xxx-py2-none-any.whl
2. 上传
twine upload dist/example_package_sundebin-0.0.1-py3-none-any.whl
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file example_package_sundebin-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: example_package_sundebin-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 926e1f724a06eaeaa1de75963e9d78df4d34c7f82e2d992a897e5081d249991f |
|
MD5 | 1ef673069877ef4901a0182a240e6f35 |
|
BLAKE2b-256 | 258fb8bace022d83c312d8fc5f22ca74f7307c96e2ea0ba01b7da8eb6e79e4db |