subpar
subpar copied to clipboard
Subpar is a utility for creating self-contained python executables. It is designed to work well with Bazel.
Just wondering if there is a technical reason for this. Otherwise I may try to add support for this.
This change includes a fix to #39 - Remove the stubfile parsing when the interpreter is specified. - And use the interpreter as the first argument while running the compiler.par...
Ubuntu 20.04 uses Python 3, which might be what's causing this. Lots of test failures, see https://buildkite.com/bazel/subpar/builds/7413#7f8773f9-2385-4244-8a00-da4c4dd9a2ab
Opening this as a general tracking issue for PAR support for Bazel on Windows. The first issue I'm hitting seems to be where the PAR compiler [parses the stub file](https://github.com/google/subpar/blob/master/compiler/cli.py#L55).
Hey, Are you considering supporting OS X? cc @capibara-
It seems like `--stub_file` is only parsed to derive which interpreter is being used. Correct me if I'm wrong, but it seems like passing in `--interpreter` should short-circuit parsing that...
`http_archive` seems to be the standard method for pulling rules into a WORKSPACE in the bazel ecosystem. Should the README example for this repo https://github.com/google/subpar/blame/9fae6b63cfeace2e0fb93c9c1ebdc28d3991b16f/README.md#L14-L24 be changed to something like...
This is very unlikely to be fixed due to Subpar's maintenance status but it's good to document it here to potentially save others some debugging time. --- Any `.par` written...
Subpar fails when `py_runtime` is provided a label for interpreter location, see: https://github.com/google/subpar/issues/98#issuecomment-529904795 @thundergolfer brings up the point that for nix builds, or other hermetic python builds, subpar will not...
I'm using subpar to generate an independent python executable with Bazel. Unfortunately, it doesn't appear that the resulting par file can find data files referenced by the par_binary() rule. For...