Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change `setup.py install` recommendation to `pip install .` #5428

Closed
mdboom opened this issue Nov 7, 2015 · 3 comments

Comments

Projects
None yet
5 participants
@mdboom
Copy link
Member

commented Nov 7, 2015

I think this comment makes a lot of sense.

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.

@mdboom mdboom changed the title Change `setup.py install` recommendation to `pip setup.py install` Change `setup.py install` recommendation to `pip install .` Nov 7, 2015

@tacaswell tacaswell added this to the proposed next point release (2.1) milestone Nov 7, 2015

@jenshnielsen

This comment has been minimized.

Copy link
Member

commented Nov 7, 2015

👍 especially the numpy install that setup.py install produces is problematic

@embray

This comment has been minimized.

Copy link
Contributor

commented 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 --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 :)

@tacaswell tacaswell modified the milestones: 2.1 (next point release), 2.2 (next next feature release) Oct 3, 2017

@QuLogic

This comment has been minimized.

Copy link
Member

commented Feb 9, 2018

Fixed by #9291.

@QuLogic QuLogic closed this Feb 9, 2018

@QuLogic QuLogic modified the milestones: v2.2, v2.1.1 Feb 9, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.