Is there any significant difference between
pip install -e /path/to/mypackage
and the setuptools variant?
python /path/to/mypackage/setup.py develop
Is there any significant difference between
pip install -e /path/to/mypackage
and the setuptools variant?
python /path/to/mypackage/setup.py develop
There is no big difference.
With
pip install -e
:More: docs
Also read the setuptools' docs.
Another difference that may favor
pip install -e
is that if your project has dependencies ininstall_requires
insetup.py
, thenpip install -e .
installs dependencies with pip, whilepython setup.py develop
can installs witheasy_install
, and may cause problems re: 'egg-info' as mentioned above. Wheninstall-requires
usesdependency_links
with custom git URLs, with attached egg identifiers, this can be especially annoying.One more difference:
pip install -e
uses wheel whilepython setup.py develop
doesn't use it.
With
install
, you could achieve the same behavior by usingpip install -e /path/to/package --no-use-wheel
More info on wheels : python wheels