A small log package
Project description
Example Package
This is a simple log package. You can use Github-flavored Markdown to write your content.
官方文档 :https://packaging.python.org/tutorials/packaging-projects/#uploading-your-project-to-pypi
twine : 无法将“twine”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。
配置环境变量
C:\Users\tinyw\AppData\Roaming\Python\Python37\Scripts
https://pypi.org/manage/account/
HTTPError: 403 Client Error: Invalid or non-existent authentication information. for url: https://test.pypi.org/legacy/
UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 197: illegal multibyte sequence
- 解决办法1:
FILE_OBJECT= open('order.log','r', encoding='UTF-8')
- 解决办法2:
FILE_OBJECT= open('order.log','rb')
上传并完成发布 使用 twine
twine upload dist/*
包发布完成后,其他人只需要使用pip就可以安装你的包文件。比如
pip install package-name
包发布完成后,其他人只需要使用pip就可以安装你的包文件。比如
pip install package-name --update
可能遇到的错误
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
t_log-0.2.tar.gz
(3.0 kB
view hashes)
Built Distribution
t_log-0.2-py3-none-any.whl
(4.8 kB
view hashes)