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

Need to include PYTHONPATH for non-HomeBrew and non-Flask use #911

Open
kalebmckale opened this issue Nov 13, 2022 · 1 comment
Open

Need to include PYTHONPATH for non-HomeBrew and non-Flask use #911

kalebmckale opened this issue Nov 13, 2022 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@kalebmckale
Copy link

kalebmckale commented Nov 13, 2022

How would this feature be useful?

PYTHONPATH has been removed to fix #233 and adjusted to fix #636. However, due to how pipx install functions (using the version of pip inside the new virtualenv it creates), I need to add to PYTHONPATH the path to the customized library that enables my authentication for a specialized PyPI mirror.

Describe the solution you'd like

Ideally, since the only platform that seems to have caused the issue leading to #233 is macOS with Homebrew, one might check for this instead of removing PYTHONPATH unconditionally. Alternatively, one could introduce another command-line option to either add back to PYTHONPATH (possibly via extra_python_paths).

Describe alternatives you've considered

The only workaround I've found so far is tweaking my installed version of pipx to prevent it from removing PYTHONPATH.

@dukecat0 dukecat0 added the enhancement New feature or request label Nov 13, 2022
@gaborbernat
Copy link
Contributor

PR welcome.

@gaborbernat gaborbernat added the help wanted Extra attention is needed label Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants