We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using pkg_tar on a py_binary and specifying include_runfiles=True, the bazel-created __init__.py files are not included in the tar.
include_runfiles=True
__init__.py
py_binary( name = "foo", srcs = ["foo.py"] ) pkg_tar( name = "foo-pkg", srcs = [":foo"], extension = "tar.gz", include_runfiles = True, package_dir = "foo.runfiles/__main__", strip_prefix = ".", )
Ubuntu 18.04
bazel info release
release 3.4.1
development version
(@non-git)
No response
git remote get-url origin; git rev-parse master; git rev-parse HEAD
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description of the bug:
When using pkg_tar on a py_binary and specifying
include_runfiles=True
, the bazel-created__init__.py
files are not included in the tar.What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Which operating system are you running Bazel on?
Ubuntu 18.04
What is the output of
bazel info release
?release 3.4.1
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: