What are the valid values for --platform, --abi, a

2019-07-08 05:26发布

问题:

pip download has several flags that I would like to play with --platform, --abi, and --implementation.

Where can I find the complete list of valid values for these flags?

回答1:

I don't think there is one definitive list. You have to collect it from different sources. Start with PEP 425: https://www.python.org/dev/peps/pep-0425/

python tag: ‘py27’, ‘cp33’

abi tag: ‘cp32dmu’, ‘none’

platform tag: ‘linux_x86_64’, ‘any’

--implementation:

cp: CPython
ip: IronPython
pp: PyPy
jy: Jython

--platform:

win32
linux_i386
linux_x86_64


标签: pip