Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the valid values for --platform, --abi, and --implementation for pip download?

Tags:

python

pip

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?

like image 775
ericg Avatar asked Apr 05 '18 12:04

ericg


People also ask

What is pip download?

pip is the package installer for Python. You can use pip to install packages from the Python Package Index and other indexes. Please take a look at our documentation for how to install and use pip: Installation. Usage.

Where does pip install download packages from?

By default, pip installs packages located in the Python Package Index (PyPI), but can also install from other indexes.

What is true about the pip install command?

The pip command looks for the package in PyPI, resolves its dependencies, and installs everything in your current Python environment to ensure that requests will work. The pip install <package> command always looks for the latest version of the package and installs it.


1 Answers

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
like image 117
phd Avatar answered Oct 10 '22 00:10

phd