Skip to content

Commit 241b6e6

Browse files
Update from copier (2026-04-02T23:46:16)
Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent f3000b3 commit 241b6e6

File tree

3 files changed

+42
-8
lines changed

3 files changed

+42
-8
lines changed

.copier-answers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: 34c631c
2+
_commit: fead162
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: true
55
add_extension: cpp

.github/workflows/build.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ jobs:
8484
run: make checks
8585
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
8686

87+
<<<<<<< before updating
8788
- name: Install build dependencies
8889
run: pip install cibuildwheel
8990

@@ -111,6 +112,8 @@ jobs:
111112
CIBW_BEFORE_ALL: call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
112113
if: matrix.os == 'windows-latest'
113114

115+
=======
116+
>>>>>>> after updating
114117
- name: Test
115118
run: make coverage
116119

@@ -132,6 +135,37 @@ jobs:
132135
with:
133136
token: ${{ secrets.CODECOV_TOKEN }}
134137

138+
- name: Install build dependencies
139+
run: pip install cibuildwheel
140+
141+
- name: Make dist (Linux)
142+
run: |
143+
make dist-py-sdist
144+
make dist-py-wheel
145+
make dist-check
146+
env:
147+
CIBW_BUILD: "${{ matrix.cibuildwheel }}-manylinux*"
148+
CIBW_BUILD_VERBOSITY: 3
149+
if: matrix.os == 'ubuntu-latest'
150+
151+
- name: Make dist (Macos)
152+
run: |
153+
make dist-py-wheel
154+
env:
155+
CIBW_BUILD: "${{ matrix.cibuildwheel }}-macos*"
156+
CIBW_BUILD_VERBOSITY: 3
157+
if: matrix.os == 'macos-latest'
158+
159+
- name: Make dist (Windows)
160+
run: |
161+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
162+
make dist-py-wheel
163+
shell: cmd
164+
env:
165+
CIBW_BUILD: "${{ matrix.cibuildwheel }}-win_amd64"
166+
CIBW_BEFORE_ALL: call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
167+
if: matrix.os == 'windows-latest'
168+
135169
- uses: actions/upload-artifact@v7
136170
with:
137171
name: dist-${{matrix.os}}-${{matrix.python-version}}

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ build-py:
1212
build-cpp:
1313
python -m hatchling build --hooks-only
1414

15-
build-cibw:
16-
python -m cibuildwheel --output-dir dist
17-
1815
build: build-cpp build-py ## build the project
1916

2017
.PHONY: install
@@ -114,15 +111,18 @@ major: ## bump a major version
114111
########
115112
# DIST #
116113
########
117-
.PHONY: dist dist-py dist-check publish
114+
.PHONY: dist-py-wheel dist-py-sdist dist-check dist publish
115+
116+
dist-py-wheel: ## build python wheel
117+
python -m cibuildwheel --output-dir dist
118118

119-
dist-py: ## build python dists
120-
python -m build -w -s
119+
dist-py-sdist: ## build python sdist
120+
python -m build --sdist -o dist
121121

122122
dist-check: ## run python dist checker with twine
123123
python -m twine check dist/*
124124

125-
dist: clean build dist-js dist-py dist-check ## build all dists
125+
dist: clean build dist-py-wheel dist-py-sdist dist-check ## build all dists
126126

127127
publish: dist ## publish python assets
128128

0 commit comments

Comments
 (0)