镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

All configuration keys must be set if any are set #305

Closed

Description

@ngoldbaum

Currently, if one has a pyproject.toml that looks like:

[tool.meson-python.args]
setup = ["-Ddebug=true", "-Doptimization=0"]

Then at build time meson-python will raise an error:

meson-python: error: Unknown configuration key "tool.meson-python.args.dist"

A workaround is to set empty values for all supported configuration options:

[tool.meson-python.args]
dist = []
setup = ["-Ddebug=true", "-Doptimization=0"]
compile = []
install = []

It looks like the existing tests only use a pyproject.toml that has all four keys set.

Activity

  1. dnicolodi commented on Feb 9, 2023

    @dnicolodi
    Member

    Duplicate of #293. Fix waiting in #304.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions