IMPORTANT: The Bazel docs have moved! Please update your bookmark to https://bazel.build/rules/lib/py

You can read about the migration, and let us know what you think.

Extensions > API reference > py

py

A configuration fragment for Python.