You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Change setup.py install recommendation to pip install . #5428
We should update our docs to recommend pip install . where appropriate. We can't (and shouldn't) explicitly disallow setup.py install, but most users will have a better time of it using pip to install from source in this day and age.
changed the title [-]Change `setup.py install` recommendation to `pip setup.py install`[/-][+]Change `setup.py install` recommendation to `pip install .`[/+]on Nov 7, 2015
This was inspired in part by the Numpy thread, but is something I was thinking about before then. It proposes adding a --pip flag to ./setup.py install which will be equivalent to invoking pip install .. This can be made the default in Numpy or other projects by adding it to the project's setup.cfg.
Even if this doesn't end up being adopted directly in setuptools it can easily be added to other projects by subclassing the install command. Numpy might even be a really good testcase for this feature before implementing it directly in setuptools :)
Activity
[-]Change `setup.py install` recommendation to `pip setup.py install`[/-][+]Change `setup.py install` recommendation to `pip install .`[/+]jenshnielsen commentedon Nov 7, 2015
👍 especially the numpy install that
setup.py installproduces is problematicembray commentedon Dec 7, 2015
Anybody interested in this issue and the related numpy-discussion thread at https://mail.scipy.org/pipermail/numpy-discussion/2015-October/074086.html may be interested in my proposal on distutils-sig: https://mail.python.org/pipermail/distutils-sig/2015-December/027900.html
This was inspired in part by the Numpy thread, but is something I was thinking about before then. It proposes adding a
--pipflag to./setup.py installwhich will be equivalent to invokingpip install .. This can be made the default in Numpy or other projects by adding it to the project's setup.cfg.Even if this doesn't end up being adopted directly in setuptools it can easily be added to other projects by subclassing the install command. Numpy might even be a really good testcase for this feature before implementing it directly in setuptools :)
QuLogic commentedon Feb 9, 2018
Fixed by #9291.