py

报告问题 查看源代码

Python 的配置 fragment。

成员

build_python_zip

bool py.build_python_zip

--build_python_zip 的有效值

default_python_version

string py.default_python_version

--incompatible_py3_is_default 中的默认 Python 版本

default_to_explicit_init_py

bool py.default_to_explicit_init_py

--incompatible_default_to_explicit_init_py 标志的值

disable_py2

bool py.disable_py2

--incompatible_python_disable_py2 标志的值。

disallow_native_rules

bool py.disallow_native_rules

--incompatible_python_disallow_native_rules 标志的值。

use_toolchains

bool py.use_toolchains

--incompatible_use_python_toolchains 标志中的值