An executable Python program.

par_binary() is a drop-in replacement for py_binary() that also builds a self-contained, single-file executable for the application, with a .par file extension.

See py_binary for arguments and usage.

Attributes

A self-contained, single-file Python program, with a .par file extension.

You probably want to use par_binary() instead of this.

TODO(b/27502830): A directory foo.par.runfiles is also created. This is a bug, don't use or depend on it.

Attributes