Skip to content

Remove --wheel from build command

Joseba Mendivil requested to merge j.mendivil-master-patch-f03b into master

Publish the source distribution alongside the wheels. This way environments for which there's no pre-built wheel can still install the package if they have the required build tools.

The recommended way of building both wheels and source distributions is to not pass any flag, as it will use the source distribution to build the wheel. By passing --wheel, the wheel is built from source instead of the source distribution, which could create inconsistencies between the two.

https://build.pypa.io/en/stable/#python--m-build

Merge request reports