• 
      

    Fix the target executable path for the rbt shortcuts on Windows.

    Review Request #14505 — Created July 13, 2025 and submitted

    Information

    RBTools
    release-5.x

    Reviewers

    Python packages used to install the RBTools entrypoint as
    Scripts\rbt-script.py, which was a Python script that ran
    rbtools.__main__(). This changed at least as of our last release. The
    modern tooling instead installed that as rbt.exe.

    These are exe files that run themselves as Python scripts, so we can
    still link to them. They are, unfortunately, installed using
    non-relocatable paths to the Python executable, so we can't include them
    directly in the path. However, we fortunately can continue to pass them
    to python as scripts, and it'll do the right thing.

    Our rbt and rbt.cmd files have been updated to wrap these instead of
    the old path.

    Installed these on Windows and verified I could successfully run rbt.

    Summary ID
    Fix the target executable path for the rbt shortcuts on Windows.
    Python packages used to install the RBTools entrypoint as `Scripts\rbt-script.py`, which was a Python script that ran `rbtools.__main__().` This changed at least as of our last release. The modern tooling instead installed that as `rbt.exe`. These are exe files that run themselves as Python scripts, so we can still link to them. They are, unfortunately, installed using non-relocatable paths to the Python executable, so we can't include them directly in the path. However, we fortunately can continue to pass them to `python` as scripts, and it'll do the right thing. Our `rbt` and `rbt.cmd` files have been updated to wrap these instead of the old path.
    0056642aefbd72831d4d29ce9f95e4520a8aa3dd
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-5.x (215b183)