Skip to main content

zengxiaohui python tools

Project description

zengxh_py_tools

python 开发过程中常用到的工具

生成发布软件包文件

python -m pip install --user --upgrade setuptools wheel
python setup.py sdist bdist_wheel

将打包好的项目上传至PyPI

python -m pip install --user --upgrade twine
# upload to test PyPI
python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
# upload to real PyPI
python -m twine upload dist/*

测试是否发布成功

# 在线安装测试版本
pip install -i https://test.pypi.org/simple/ zengxh_py_tools==0.0.2
# 在线安装正式版本
pip install -i https://pypi.org/simple/ zengxh_py_tools==0.0.2
pip install zengxh_py_tools==0.0.2
# 离线安装
pip install dist/zengxh_py_tools-0.0.1-py3-none-any.whl
pip uninstall zengxh_py_tools

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

python_developer_tools-0.0.2.tar.gz (13.1 kB view hashes)

Uploaded Source

Built Distribution

python_developer_tools-0.0.2-py3-none-any.whl (17.4 kB view hashes)

Uploaded Python 3

Supported by

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