From 62f4e32bca1fa0f28a222a1dfc5ea50446251190 Mon Sep 17 00:00:00 2001 From: thesayyn Date: Mon, 21 Oct 2024 15:45:14 -0700 Subject: [PATCH] test: repro 408 --- py/tests/py-pex-binary/BUILD.bazel | 14 ++++++++++++++ py/tests/py-pex-binary/__init__.py | 0 2 files changed, 14 insertions(+) create mode 100644 py/tests/py-pex-binary/__init__.py diff --git a/py/tests/py-pex-binary/BUILD.bazel b/py/tests/py-pex-binary/BUILD.bazel index 3107a127..9f814cc7 100644 --- a/py/tests/py-pex-binary/BUILD.bazel +++ b/py/tests/py-pex-binary/BUILD.bazel @@ -32,3 +32,17 @@ assert_contains( actual = "print_modules_pex.out", expected = "Mooo!,cowsay-6.1/cowsay/__init__.py,six-1.16.0/six.py", ) + +py_binary( + name = "binary", + srcs = [ + "__init__.py", + ], + main = "__init__.py", + visibility = ["//visibility:public"], +) + +py_pex_binary( + name = "py_pex_binary", + binary = ":binary", +) \ No newline at end of file diff --git a/py/tests/py-pex-binary/__init__.py b/py/tests/py-pex-binary/__init__.py new file mode 100644 index 00000000..e69de29b