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

support virtual environments #73

Closed
woutervh opened this issue Jul 31, 2020 · 3 comments
Closed

support virtual environments #73

woutervh opened this issue Jul 31, 2020 · 3 comments
Labels

Comments

@woutervh
Copy link

Currently the configuration is globally available for all virtual envs for a specific user:

~/.pipupgrade/config.ini

  1. This violates the goal of virtual or isolated environments.
  2. This also pollutes the $HOME,
    modern location should be ~/.config/pipupgrade/ according to XDG_CONFIG_DIRS
    (pip itself also move to ~/.config/pip/)

I propose to support an extra environment-variable:

PIPUPGRADE_CONFIG=/etc/pipupgrade.ini

@achillesrasquinha
Copy link
Owner

Good call!

@achillesrasquinha achillesrasquinha added the enhancement New feature or request label Aug 17, 2020
@woutervh
Copy link
Author

this is how pip itself solves it
https://pip.pypa.io/en/stable/user_guide/#config-file

they support PIP_CONFIG_FILE, but also a list of default location to search in.

@achillesrasquinha
Copy link
Owner

Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants