# 7.10. Python extensions - distutils.bbclass

## 7.10. Python extensions - `distutils.bbclass`

Recipes for Python extensions are simple. These recipes usually only need to point to the source's archive and then inherit the proper `.bbclass` file. Building is split into two methods dependling on which method the module authors used.

Extensions that use an Autotools-based build system require Autotools and `distutils`-based `.bbclasse` files in their recipes.

Extensions that use `distutils`-based build systems require `distutils.bbclass` in their recipes.