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

search over paths mentioned in .pth #808

Closed
DylanModesitt opened this issue Jan 6, 2021 · 1 comment
Closed

search over paths mentioned in .pth #808

DylanModesitt opened this issue Jan 6, 2021 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@DylanModesitt
Copy link

DylanModesitt commented Jan 6, 2021

I often use a .pth file in my venvs in order to add internal modules or packages. Usually, this is in order to have an efficient way to work on pip-package A's interactions with package B.

Would it be possible to search for source in any paths mentioned in a venv's *.pth file(s) giving behavior analogous to manually adding those same paths to "python.analysis.extraPaths"?

@github-actions github-actions bot added the triage label Jan 6, 2021
@DylanModesitt DylanModesitt changed the title search over .pth search over paths mentioned in .pth Jan 6, 2021
@jakebailey
Copy link
Member

pth files should work normally (as we ask python for its sys.path), but don't; I'm going to call this a dupe of #78 as editable installs are also based on pth files, and what whole thing will be investigated together.

@jakebailey jakebailey added the duplicate This issue or pull request already exists label Jan 6, 2021
@github-actions github-actions bot removed the triage label Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants