Skip to main content
A configuration fragment for Python.

Members

build_python_zip

bool py.build_python_zip
The effective value of —build_python_zip

default_python_version

string py.default_python_version
The default python version from —incompatible_py3_is_default

default_to_explicit_init_py

bool py.default_to_explicit_init_py
The value from the —incompatible_default_to_explicit_init_py flag

disable_py2

bool py.disable_py2
The value of the —incompatible_python_disable_py2 flag.

disallow_native_rules

bool py.disallow_native_rules
The value of the —incompatible_python_disallow_native_rules flag.

use_toolchains

bool py.use_toolchains
The value from the —incompatible_use_python_toolchains flag