Skip to content

Bazel support #2135

@SamuelMarks

Description

@SamuelMarks

Description

Bazel is popular. As is CMake, Meson, make, etc.

It would be great to have an official hatch plugin focussing on Bazel (what I care about right now) and maybe these others also (as others care about the others). Solving for one is expected to solve for all.

Use case/motivation

Hatch should have a clear path to including dependencies with their own non-Python-world build systems in a regular Python worktree; primarily for building Python wrapper packages.

This absolves Hatch of including ways of directly providing linker flags and compiler flags and resolving dependencies and packaging, and absolves the ecosystem of having to rewrite-in-Hatch.

Related issues

#1817 and his whole project https://github.com/eguiraud/hatch-bazel-and-pybind11

Related also: https://github.com/rmorshea/hatch-build-scripts
(for executing arbitrary commands and storing their assets for usages in later stages)

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions