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
20082026
-
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…
comment by jvolkman · 2026-10-07 · in Why Pendulum had to write the most cursed "+" operator in all of Python -
…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
comment by jvolkman · 2022-09-23 · in Show HN: Morgan – PyPI Mirror for Restricted/Offline Environments -
…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)