-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Situation
Currently we have score_virtualenv
macro which is typically executed by ide_support
, which will create a virtual environment for python.
Python becomes available only after running said target.
Problem
When we configure the python path in any kind of config (e.g. vs code), it points to a non existing location until people actually run ide_support
.
Example: swyddfa/esbonio#1017
Idea
Can we make a new bazel target, let's call it python
which is basically a simple wrapper for .venv/bin/python
with a dependency to ide_support
?
Unfortunately it's not trivial as ide_support
is a run
target and not a build
target.
Hint: https://chatgpt.com/share/6894490d-b650-800a-a323-2d2dece0946c
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Draft