Skip to content

Commit d3e155a

Browse files
committed
build: modernize build configuration
- Add explicit wheel dependency to build-system requires - Ensure release workflow explicitly builds both sdist and wheel - Use --upgrade flag for build tool installation - Already using pypa/build correctly (confirmed) Part of #198: Code quality/project standards alignment
1 parent 5da72cd commit d3e155a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
- name: Build distributions
2121
run: |
2222
python -m pip install --upgrade pip
23-
python -m pip install build
24-
python -m build
23+
python -m pip install --upgrade build
24+
python -m build --sdist --wheel
2525
2626
- name: Upload distributions
2727
uses: actions/upload-artifact@v4

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools >= 61.0"]
2+
requires = ["setuptools>=61.0", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]

0 commit comments

Comments
 (0)