From d015298f26cffe5954b2e89db982966f0497115c Mon Sep 17 00:00:00 2001 From: polishchuks Date: Mon, 3 Feb 2025 08:59:53 +0200 Subject: [PATCH] fix: use pdm config to set distribution setting --- .github/workflows/build-wheels.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index f76dcbe..25487d8 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -57,11 +57,9 @@ jobs: # Convert poetry project to pdm pdm import -f poetry pyproject.toml - # Initialize PDM project + # Initialize PDM project and enable distribution pdm init -n - - # Enable distribution in pyproject.toml - echo -e "\n[tool.pdm]\ndistribution = true" >> pyproject.toml + pdm config distribution true # Build wheel with bundled dependencies pdm build --no-sdist