Skip to main content

A short description

Project description

myproject/ ├── setup.py # 打包配置文件 ├── README.md # 项目说明 ├── LICENSE # 许可证文件 ├── mypackage/ # 主模块目录 │ ├── init.py # 模块初始化文件 │ └── module_file.py # 代码文件 └── tests/ # 测试目录(可选)

使用说明 解压后,进入项目根目录(gethub_demo/)

升级 packaging

pip install -U packaging 安装打包工具:pip install build twine 生成包文件:python -m build 上传到 PyPI:python -m twine upload dist/*(需先注册 PyPI 账号)

PyPI 账号在 Windows 系统的命令提示符中,执行以下命令: set TWINE_USERNAME=your_pypi_username set TWINE_PASSWORD=your_pypi_password

PyPI 账号在 Linux 或 macOS 系统的终端中,执行以下命令: export TWINE_USERNAME=your_pypi_username export TWINE_PASSWORD=your_pypi_password

https://blog.csdn.net/QIDAL/article/details/148013142

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wgl001package-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wgl001package-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file wgl001package-0.1.0.tar.gz.

File metadata

  • Download URL: wgl001package-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for wgl001package-0.1.0.tar.gz
Algorithm Hash digest
SHA256 49b4b1c63989d7d1b51e5d62fb718e9df9b83a9bdb3015746583d9b8ebff8f97
MD5 c779da8c3c7c0d09a0a1320e30db2d55
BLAKE2b-256 d624ddbeb90f326eb703fbb1bea51c761bd877372dfc5272cfe6f505fb8ea5d5

See more details on using hashes here.

File details

Details for the file wgl001package-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: wgl001package-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for wgl001package-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f74cd4e2a63778e22591bb6c71bb121cb0b6a2b5a4e9c836c06bc89d6a36ff2
MD5 273a53a1646a06404b660e1b2f01920d
BLAKE2b-256 1f2380160885b254185594a2bff1701d3630d6273b6a787de5b18bb1229f463e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page