setup.py (legacy) - pip documentation v21.3.1
pip.pypa.io › reference › build-systemIf this wheel generation fails, pip runs setup.py clean to clean up any build artifacts that may have been generated. After that, pip will attempt a direct installation. Direct Installation¶ When all else fails, pip will invoke setup.py install to install a package using setuptools’ mechanisms to perform the installation. This is currently the last-resort fallback for projects that cannot be built into wheels, and may not be supported in the future.
pip install - pip documentation v21.3.1 - Python
pip.pypa.io › en › stableExtra arguments to be supplied to the setup.py install command (use like --install-option=”--install-scripts=/usr/local/bin”). Use multiple --install-option options to pass multiple options to setup.py install. If you are using an option with a directory path, be sure to use absolute path.--global-option <options> ¶