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

发布了157 篇原创文章 · 获赞 85 · 访问量 34万+

猜你喜欢

转载自blog.csdn.net/Areigninhell/article/details/103257463