Skip to main content

我的工具

Project description

简介

我的工具

一.上传步骤: 1.生成 dist 目录用于上传 python setup.py sdist bdist_wheel

2.上传包到私有 pypi 源 cat ~/.pypirc [distutils] index-servers = pypi local

[pypi] repository: https://www.python.org/pypi username: 在pypi上的用户名 password: 在pypi上的密码

[local] repository: http://localhost:8080 username: yehaiquan password: 12345678

3.上传到 local 仓库 twine upload dist/* -r local

4.测试是否上传 访问 http://localhost:3141/simple/

5.安装 pip search -i http://localhost:3141 wivw_demo #查找包 pip install -i http://localhost:3141/simple wivw_demo #安装包 pip install -U -i http://localhost:3141/simple wivw_demo #安装最新包

6.测试是否安装 import wivw_demo from wivw_demo import mytool wivw-demo.show() mytool.mytest()

7.卸载包 pip uninstall wivw-demo

二.上传到 pypi 仓库 1.登陆个人pypi后台(如没有账号需要先注册) https://pypi.org/manage/projects/

twine upload dist/* -r local

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

wivw_demo-0.0.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

wivw_demo-0.0.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file wivw_demo-0.0.2.tar.gz.

File metadata

  • Download URL: wivw_demo-0.0.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.2

File hashes

Hashes for wivw_demo-0.0.2.tar.gz
Algorithm Hash digest
SHA256 795ead9910baedebb584b3d19ad17f1d6172caf6b38cba95a17d6defb42b2f57
MD5 1032834074014e31d295375d615483d2
BLAKE2b-256 8851aba395bc7ada29c9380ecc6f38b8d8f2d3a4aa439ffcc39c3016d947279b

See more details on using hashes here.

File details

Details for the file wivw_demo-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: wivw_demo-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.2

File hashes

Hashes for wivw_demo-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 87dda0259e140e862a7ff2c2a80e262c2028fcfda2c75ca6461daba78754382d
MD5 12ea7cfe3be450bc84f3d6da755ff94a
BLAKE2b-256 00fc0003977af9c3fa76d339aa74ecc833c3d0bdfe508349d66b9a459ce9219b

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