Launching a `.py` file on windows by creating an executable

You can adjust entries in pyproject.toml marked as dynamic with a build plugin script. It’s admittedly easier for me to say than for you to do, as I’ve already done it. But it was surprisingly straightforward.