google / subpar

Subpar is a utility for creating self-contained python executables. It is designed to work well with Bazel.
Apache License 2.0
567 stars 69 forks source link

Use interpreter specified in arguments before parsing stub files #129

Closed oxidase closed 3 years ago

oxidase commented 3 years ago

The pull request changes the order of the interpreter argument check and parsing a stub file: if the interpreter argument is specified in the command line than don't parse the stub file that prevents failing at https://github.com/google/subpar/blob/df97c29b/compiler/cli.py#L143-L146 if the interpreter argument is specified

oxidase commented 3 years ago

duplicate of #128