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

Prompt or auto install requirements from requirements.txt #4606

Closed
DonJayamanne opened this issue Mar 1, 2019 · 6 comments
Closed

Prompt or auto install requirements from requirements.txt #4606

DonJayamanne opened this issue Mar 1, 2019 · 6 comments
Labels
area-environments Features relating to handling interpreter environments feature-request Request for new features or functionality

Comments

@DonJayamanne
Copy link

Someone getting started with VSC python will find this handy.
Workflow:

  • Open a folder, and we detect requirements.txt, we can display a prompt
  • Or select a interpreter, and we detect a requirements.txt we can display a prompt
@DonJayamanne DonJayamanne added feature-request Request for new features or functionality feature-* labels Mar 1, 2019
@luabud
Copy link
Member

luabud commented Apr 2, 2019

#160

@luabud luabud added needs proposal Need to make some design decisions feature-interpreter and removed needs decision labels Apr 2, 2019
@gramster gramster added area-environments Features relating to handling interpreter environments and removed feature-interpreter labels Oct 10, 2019
@thelinuxer
Copy link

I think it's better if this action was based on a setting that can be saved in the workspace. An example project can have a requirements.txt (production or base requirements) and dev_requirements.txt (extra packages for debugging/testing/profiling ..etc).

I would like to be able to set the workspace configuration that would define which file vscode should install the requirements from by default.

The setting could be python.default_requirements or something similar.

@torchsmoke
Copy link

What is the status here?

@luabud
Copy link
Member

luabud commented May 29, 2021

Hi @Ben-Faessler, this issue haven't been prioritized yet. We plan to do it eventually but not ETAs for that yet.

@brettcannon
Copy link
Member

We have an experiment that does this and is available under the vscode.python.createEnvironment.trigger setting.

@github-actions github-actions bot removed the needs proposal Need to make some design decisions label Dec 18, 2023
@brettcannon
Copy link
Member

#21965

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-environments Features relating to handling interpreter environments feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

6 participants