Python 包上传至 PyPI
什么是 PyPI
The Python Package Index (PyPI) is a repository of software for the Python programming language.
PyPI helps you find and install software developed and shared by the Python community.
Package authors use PyPI to distribute their software.
PyPI 是一个 Python 语言软件仓库,开发包的作者通过Python社区共享他们的作品。软件开发者可以在平台上搜索、安装和使用这些共享资源。
注册 PyPI 账号
点击下面链接,然后再点击 “Register” 连接,注册非常简单,
PyPI · The Python Package Indexpypi.org编辑
填写资料,最后点【Create account】创建账号。
创建账号后会收到一封邮件,确认邮件。最后登录
发布 Python 包到 PyPI(Python Package Index) 的步骤
下面开始介绍如何将自己的 Python 包发布到Python Package Index。
准备一个 Python 项目,目录结构如下
neo@MacBook