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

Incompatible search for main files #110

Open nicmcd opened 5 years ago

nicmcd commented 5 years ago

Here is my py_binary rule:

py_binary(
    name = "testing",
    srcs = ["bin/testing.py"],
)

The py_binary rule finds the main file just fine even though it is in the bin directory. However, the following rule fails:

par_binary(
    name = "testing",
    srcs = ["bin/testing.py"],
)

I'm using Bazel version 0.26.1 and subpar 2.0.0