Build machine information (build_machine)

Provides information about the build machine -- the machine that is doing the actual compilation. See Cross-compilation.

Currently, these values are populated using platform.system() and platform.machine(). If you think the returned values for any of these are incorrect for your system or CPU, or if your OS is not in the linked table, please file a bug report with details and we'll look into it.

Extended by

Build machine information is extended by the following subtypes:

Build machine information methods


Returns a more specific CPU name, such as i686, amd64, etc.


str cpu()


Returns the CPU family name. This table contains all known CPU families. These are guaranteed to continue working.


str cpu_family()


returns 'big' on big-endian systems and 'little' on little-endian systems.


str endian()


Returns the operating system name. This table Lists all of the currently known Operating System names, these are guaranteed to continue working.


str system()

The results of the search are