Working Notes: a commonplace notebook for recording & exploring ideas.
Home. Site Map. Subscribe. More at expLog.
Documented here
The build backend takes a source tree and builds a source/built distribution from it; the build is delegated by a frontend like pip
Build backend docs
sdist, source distribution: static snapshot of a particular releasebuild frontend: take arbitrary source trees/dists and buids wheels, eg. pipintegration frontend: builds multiple sdists, eg. pipbuild-backend is a string naming a python object to perform the build
module:object syntaxbackend-path when the build backend is in the source treebuild_wheel(dir, config, metadata): build a .whl and put it in the directory; should return the basename of the .whl filebuild_sdist(dir, config): build a .tar.gz source distributionget_requires_for_build_wheel(config_settings)prepare_metadata_for_build_wheel(metadata_dir, config_settings)get_requires_for_build_sdist(config_settings)I suspect it should be very possible to use BUCK as a build backend
— Kunal