====== python packages ======
===== pypi =====
PYPI_PACKAGE = "CherryPy"
SRC_URI[md5sum] = "867eadfc18a0a52bccf0a2958b84a538"
SRC_URI[sha256sum] = "f1acd6d671cbc7d61edcb93a8e2aa11f55276b1460ef9ce1978dc21a5f852203"
inherit pypi
===== distutils/setuptools =====
By default every recent Python package can be built:
inherit setuptool3
From Kirkstone there new classes are added:
Three new classes are introduced:
- flit_core which builds PEP-517 compliant packages which use flit_core.buildapi as their build-backend.
- setuptools_build_meta which builds PEP-517 compliant packages which use setuptools_build_meta as their build-backend.
- pip_install_wheel, which simply installs wheels built by other classes.
# This fails if pyproject.toml is missing:
inherit pypi python_flit_core
inherit pypi python_setuptools_build_meta
inherit pypi3 setuptool3
inherit pypi3 setuptool3_legacy
inherit pypi setuptools3
DEPENDS += "\
${PYTHON_PN}-setuptools-scm-native \
"