Skip to content

python target #60

@AlexanderLanin

Description

@AlexanderLanin

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions