Skip to content

meson --skip-subprojects option ignored when building wheel #423

@bruchar1

Description

@bruchar1

My project use a subproject, and the subproject installs a static lib. I don't want to include the static lib, or any file installed by the subproject. Howerver, adding

[tool.meson-python.args]
install = ['--skip-subprojects']

to pyproject.toml does not prevent meson-python trying to install files from the subproject:

+ meson install --quiet --no-rebuild --destdir C:\Users\CHARLE~1.BRU\AppData\Local\Temp\build-via-sdist-03nfoz4f\pypkgconf-0.1.0\.mesonpy-tmvd08tf\install --skip-subprojects

meson-python: error: Could not map installation path to an equivalent wheel directory: '{libdir_static}\\libpkgconf.a'

ERROR Backend subprocess exited when trying to invoke build_wheel

For reference, my project is on https://github.com/bruchar1/pypkgconf

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions