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 details)

Uploaded Source

Built Distribution

pysetup-2019.6.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file pysetup-2019.6.1.tar.gz.

File metadata

  • Download URL: pysetup-2019.6.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for pysetup-2019.6.1.tar.gz
Algorithm Hash digest
SHA256 e6d16be0cdd7069935ebe0695e9dd8e1a020434695b0765a9889715d8ed41dba
MD5 d4fb79a652dde1efbf37b48b32438100
BLAKE2b-256 8621c9db8f3df49ca4188a68ae9cc80266d10eaf7370215c44bde7157b1faf21

See more details on using hashes here.

File details

Details for the file pysetup-2019.6.1-py3-none-any.whl.

File metadata

  • Download URL: pysetup-2019.6.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for pysetup-2019.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fbec40dac3bb853cda7adfbf657ff049a2d0ea1a0d8c079ddb8a2026f5292a64
MD5 3e6fa758b507e24d45d7ad60a804b7b2
BLAKE2b-256 0f458428c9dfab73dba751424ee6e33d6c5e33eae3a6d27cb55827326fb4888d

See more details on using hashes here.

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