Working Out the Name and Version ¶įor each candidate item, pip needs to know the project name and version.
Local file (a sdist or wheel format archive, following the namingĮach item identified is added to the set of requirements to be satisfied by Local directory (which must contain a setup.py, or pip will report When looking at the items to be installed, pip checks what type of item Note that pip install prefers to leave the installed version as-is Install the packages (and uninstall anything being upgraded/replaced). All the dependencies that can be are built into wheels. What will be installed is determined here.īuild wheels. The user supplied arguments are processed Pip also supports installing from “requirements files”, which provideĪn easy way to specify a whole environment to be installed. PyPI (and other indexes) using requirement specifiers.