Skip to main content

Pypi upload tool.

Project description

PySetup

Pypi 上传工具

安装

pip install pysetup --upgrade

使用流程

  1. 进入项目目录, 打开命令行界面
  2. 输入 pysetup init 创建 setup.py 文件
  3. 修改 setup.py 文件信息
  4. 输入 pysetup upload t 打包并上传

命令

  • pysetup help: 查看命令列表
  • pysetup init: 创建 setup.py 文件
  • pysetup upload <is_clear=False>: 打包项目上传到 pypi(https://upload.pypi.org/legacy). [is_clear: 清除上传前后的打包文件]
  • pysetup upload_test <is_clear=False>: 打包项目上传到 testpypi(https://test.pypi.org/legacy). [is_clear: 清除上传前后的打包文件]
  • pysetup package: 打包项目.
  • pysetup clear: 清除打包文件 (build/dist/*.egg-info).
  • pysetup install_test <package_name>: 从 testpypi 安装测试包.

下次更新内容

  • 保存 pypi/testpypi 登陆信息
  • 查看 pypi 包名是否被占用
  • 注册 pypi 包名
  • 直接将包安装在 python 模块中, 而非从 testpypi 下载安装测试包

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

pysetup-2019.6.1.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

pysetup-2019.6.1-py3-none-any.whl (5.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