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

[WIP] Try to use user site-packages more often #4868

Closed
wants to merge 2 commits into from

Conversation

pradyunsg
Copy link
Member

@pradyunsg pradyunsg commented Nov 16, 2017

Fixes #1668
Closes #2418 (this is that carried forward)
Closes #4865

This is another attempt at closing #1668.

State:

  • Code Change
    • First Pass
    • Changes based on feedback/reviews
  • Tests
  • Documentation
    • News

It makes it install in global site-packages.
We want use user site-packages whenever possible.
@pradyunsg pradyunsg added state: needs discussion This needs some more discussion type: feature request Request for a new feature C: user scheme Handling of packages in user-specific directories labels Nov 16, 2017
@pradyunsg pradyunsg added this to the 10.0 milestone Nov 16, 2017
@pradyunsg pradyunsg self-assigned this Nov 16, 2017
@pradyunsg pradyunsg requested a review from a team November 16, 2017 06:27
@pradyunsg
Copy link
Member Author

Uhm. The configuration related stuff gets messy if we do it this way. :'(

I'll go ahead with trying to implement #4575 directly instead.

@pradyunsg pradyunsg removed the request for review from a team November 16, 2017 06:39
@pradyunsg pradyunsg changed the title Try to use user site-packages more often [WIP] Try to use user site-packages more often Nov 16, 2017
@@ -206,6 +216,11 @@ def run(self, options, args):
install_options.append('--user')
install_options.append('--prefix=')

# If --user or --global is not passed, use some heuristic to determine
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doesnt this have to go above to ensure the sanity check and the install option fixup?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep.

Note to self: Be more careful with your merges.

@pradyunsg
Copy link
Member Author

I'll go ahead with trying to implement #4575 directly instead.

Closing this PR.

@pradyunsg pradyunsg closed this Nov 16, 2017
@pradyunsg pradyunsg removed this from the 10.0 milestone Nov 16, 2017
@pradyunsg pradyunsg deleted the feature/default-to-user branch November 16, 2017 10:36
@lock
Copy link

lock bot commented Jun 2, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 2, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation C: user scheme Handling of packages in user-specific directories state: needs discussion This needs some more discussion type: feature request Request for a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an explicit --global installation option Default to --user
2 participants