Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for pysetup, version 2019.6.1
Filename, size File type Python version Upload date Hashes
Filename, size pysetup-2019.6.1-py3-none-any.whl (5.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pysetup-2019.6.1.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page