use*_*998 10 python pypi twine
我正在尝试从 github 操作在 Pypi 上为 linux 和 windows 上传一个包
使用 linux 我得到这个结果
Binary wheel 'xxx-cp36-cp36m-linux_x86_64.whl' has an unsupported platform tag 'linux_x86_64'.
Run Code Online (Sandbox Code Playgroud)
在 Windows 安装过程中
InvalidDistribution: Cannot find file (or expand pattern): 'dist/*'
Run Code Online (Sandbox Code Playgroud)
上传的代码是
python setup.py sdist bdist_wheel
twine upload dist/* --verbose
Run Code Online (Sandbox Code Playgroud)
任何想法如何上传Linux和Windows的发行版?
Dus*_*ram 12
您不能将linux_*.whl轮子上传到 PyPI(原因在这里)。
您需要通过manylinux项目和auditwheel工具将这个特定于平台的轮子转换为 manylinux 轮子。
| 归档时间: |
|
| 查看次数: |
2006 次 |
| 最近记录: |