@@ -723,19 +723,25 @@ local hash.
723
723
724
724
Local project installs
725
725
----------------------
726
+
726
727
pip supports installing local project in both regular mode and editable mode.
727
728
You can install local projects by specifying the project path to pip::
728
729
729
730
$ pip install path/to/SomeProject
730
731
731
- Until version 20.0, pip copied the entire project directory to a temporary
732
- location and installed from there. This approach was the cause of several
733
- performance and correctness issues. As of version 20.1 pip installs from the
734
- local project directory. Depending on the build backend used by the project,
735
- this may generate secondary build artifacts in the project directory, such as
736
- the ``.egg-info `` and ``build `` directories in the case of the setuptools
737
- backend.
738
-
732
+ pip generates a wheel distribution for the directory provided, that it uses
733
+ to perform the installation. It may fall back to using ``setup.py install ``
734
+ if it is unable to generate a wheel distribution from the directory.
735
+
736
+ Prior to pip 20.1, pip copied the entire project directory to a temporary
737
+ location and attempted to generate the distribution from that directory.
738
+ This approach was the cause of several performance issues, as well as various
739
+ issues arising when the python project directory depends on its parent
740
+ directory (such as the presence of a VCS directory). The main user visible
741
+ effect of this change is that secondary build artifacts, if any, would be
742
+ created in the local directory, whereas earlier they were created in a
743
+ temporary copy of the directory and then deleted. This notably includes the
744
+ ``build `` and ``.egg-info `` directories in the case of the setuptools backend.
739
745
740
746
.. _`editable-installs` :
741
747
0 commit comments