Hacker GitHub

← All repos

jvolkman/rules_pycross

View on GitHub ↗ ★ 98 Starlark

Bazel + Python rules for cross-platform external dependencies

3 mentions on Hacker News by 2 people: 0 stories, 3 comments · first 2022-07-18 · latest 2026-10-07

Mentions per year 3 mentions · busiest year 2022 (2)
20082026
  1. I'll one up this with my hack that changes the value of `sys.platform` based on the caller: https://github.com/jvolkman/rules_pycross/blob/main/pycross/... This is used when cross compiling binary wheels (e.g., building a macos wheel on a…
  2. …resolver. Did you consider using resolvelib [2], which is what underlies both pip and PDM? [1] https://github.com/jvolkman/rules_pycross/blob/main/examples... [2] https://github.com/sarugaku/resolvelib
  3. …to new set of bazel rules being worked on for eg. https://github.com/aspect-build/rules_js and https://github.com/jvolkman/rules_pycross which will makes it more idiomatic to work with existing language ecosystems.
    comment by amardeep · 2022-07-18 · in An ex-Googler's guide to dev tools (2020)