There are a couple of bbclasses available in kirkstone at least that replace setuptools3
python_setuptools_build_meta (useful if package has c and rust code)
python_flit_core (for packages that are just python code)