【发布时间】:2020-04-14 11:47:40
【问题描述】:
我正在尝试通过 github 操作在 Pypi for linux 和 windows 上上传一个包
使用 linux 我得到了这个结果
Binary wheel 'xxx-cp36-cp36m-linux_x86_64.whl' has an unsupported platform tag 'linux_x86_64'.
windows 安装过程中
InvalidDistribution: Cannot find file (or expand pattern): 'dist/*'
上传的代码是这样的
python setup.py sdist bdist_wheel
twine upload dist/* --verbose
任何想法如何上传 linux 和 windows 的发行版?
【问题讨论】:
-
您需要创建一个
manylinux1_x86_64轮子。有关更多参考,请参阅stackoverflow.com/q/46599004/7976758。 stackoverflow.com/…