Python artifacts are not produced on bazel-bin

24 views
Skip to first unread message

Krish Narukulla

unread,
Jul 22, 2021, 5:31:03 PM7/22/21
to bazel-discuss
bazel build --build_python_zip src/main/python/example/...

% ls bazel-bin/src/main/python/example/
ls: bazel-bin/src/main/python/example/: No such file or directory


Thanks
Krish

Krish Narukulla

unread,
Jul 23, 2021, 3:07:18 PM7/23/21
to bazel-discuss
I have figured out that python_version=2, is outputting artifacts to bazel-out. Is it possible to override this behaviour?

py_binary
(
name='roku_dag_bag',
srcs=['roku_dag_bag.py'],
python_version='PY2',
)

Thanks
Krish

Reply all
Reply to author
Forward
0 new messages