build meta wheel does not respect metadata_directory
per PEP-517
#1973
Labels
bug
Something isn't working
metadata_directory
per PEP-517
#1973
Bug Description
(similar to pypa/setuptools#1825)
From https://www.python.org/dev/peps/pep-0517/#build-wheel:
Maturin ignores the
metadata_directory
argument inbuild_wheel
which makes it hard to "wrap" build backends and adjust metadata. (The workaround is to wrapbuild_wheel
as well, and unpack-adjust-rechecksum-repack the wheel)maturin/maturin/__init__.py
Line 57 in 14a7b2d
Your maturin version (
maturin --version
)main
Your Python version (
python -V
)(unrelated)
Your pip version (
pip -V
)(unrelated)
What bindings you're using
None
Does
cargo build
work?If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash
/
)?Steps to Reproduce
pyproject.toml
with an "in-repo" `build-backendbuild_hooks.py
):(Set up a normal maturin project otherwise)
Build the wheel:
python -m pip wheel .
The text was updated successfully, but these errors were encountered: