python 打包成 whl 包

1.检查

python setup.py check

2.打包

python setup.py sdist bdist_wheel || true

setup.py制作参考

执行完上述命令的结果:

cd dist

 

安装  whl包 或   tar.gz包

pip install extension-0.07-py3-none-any.whl

参考:https://www.cnblogs.com/maociping/p/6633948.html

https://www.cnblogs.com/wangjq19920210/p/10880201.html

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章