Skip to content

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

Closed

Description

@mdboom

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.

Activity

  1. 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
  2. added this to the milestone on Nov 7, 2015
  3. jenshnielsen commented on Nov 7, 2015

    @jenshnielsen
    Member

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

  4. embray commented on Dec 7, 2015

    @embray
    Contributor

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

  5. modified the milestones: , on Oct 3, 2017
  6. QuLogic commented on Feb 9, 2018

    @QuLogic
    Member

    Fixed by #9291.

  7. modified the milestones: , v2.1.1 on Feb 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions