rules_pygen
rules_pygen copied to clipboard
IMP add ability to add patch_cmds
Sometimes, a package is not packaged correctly upstream. Then, when we install it under the bazel environment, the package cannot be found when we run our code. We want the ability to specify patches we want to add, and rules_pygen will generate something like patch_commands = ["mv package_location/ correct_package_location/"]
automatically in the .bzl file.