commit | 2cfbe731332426bbbed31f4e02140290bbf86d16 | [log] [tgz] |
---|---|---|
author | Jonathan Giroux (Koltes) <KoltesDigital@users.noreply.github.com> | Fri Jul 05 01:50:44 2024 +0200 |
committer | GitHub <noreply@github.com> | Thu Jul 04 23:50:44 2024 +0000 |
tree | a541ab768fabc8ecadf0aead20fc716965d08750 | |
parent | e6b9cffabb816be914a70d3cab526e5d9f88094a [diff] |
fix(windows): symlink bootstrap script when not building zip (#2015) This fixes #1840 by supporting again `--build_python_zip=false` on Windows. When the zip file isn't build, the transition executable looks for the eponymous bootstrap script but the latter doesn't exist. I've just added a symlink, and refactored a bit because logic would have been duplicated. It seems you don't run CICD on Windows. FWIW I've manually tested it, both with `build_python_zip` as `true` and `false`. --------- Co-authored-by: Richard Levasseur <rlevasseur@google.com>
This repository is the home of the core Python rules -- py_library
, py_binary
, py_test
, py_proto_library
, and related symbols that provide the basis for Python support in Bazel. It also contains package installation rules for integrating with PyPI and other indices.
Documentation for rules_python is at https://rules-python.readthedocs.io and in the Bazel Build Encyclopedia.
Examples live in the examples directory.
The core rules are stable. Their implementation is subject to Bazel's backward compatibility policy. This repository aims to follow semantic versioning.
The Bazel community maintains this repository. Neither Google nor the Bazel team provides support for the code. However, this repository is part of the test suite used to vet new Bazel releases. See How to contribute page for information on our development workflow.
For detailed documentation, see https://rules-python.readthedocs.io
See Bzlmod support for more details.