Skip to content

Expose libpython from toolchain like interpreter #2262

@keith

Description

@keith

Currently if you're writing custom rules that depend on python, it can be useful to extract things from the underlying python toolcahin like toolchain.py3_runtime.interpreter. I think it would be useful to also be able to extract the libpython that is included in the toolchain in a similar way, which would be useful for linking to binaries in custom rules, or providing through env vars at runtime. The library is already accessible if you search through the files on the runtime, but being able to access it in a more structured way would be useful for this case.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions