Skip to content

Commit 7bd4368

Browse files
authored
Merge pull request #86 from python-project-templates/copier-update-2026-07-28T22-56-55
Update from copier (2026-07-28T22:56:55)
2 parents 6dc6417 + 39f99b0 commit 7bd4368

6 files changed

Lines changed: 22 additions & 1 deletion

File tree

.copier-answers.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Changes here will be overwritten by Copier
2-
_commit: b2a4844
2+
_commit: da2acba
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: true
55
add_extension: cpp
6+
add_vcpkg: true
67
add_wiki: true
78
email: 3105306+timkpaine@users.noreply.github.com
89
github: python-project-templates

.github/workflows/build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ jobs:
5252

5353
- uses: actions-ext/cpp/setup@51c484ef64088c62434226039d0e3359f5fc8df6
5454

55+
- uses: actions-ext/cpp/setup-vcpkg-cache@6ded4958b7e13d73428138a01d53c33cb941121d
56+
5557
- name: Install dependencies
5658
run: make develop
5759

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ __pycache__/
1313
*.exp
1414
*.lib
1515

16+
# vcpkg
17+
vcpkg/
18+
vcpkg_installed/
19+
1620
# Rust
1721
target
1822
target-capi

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,11 @@ packages = [
129129
"cpp",
130130
]
131131

132+
[tool.hatch.build.targets.sdist.force-include]
133+
"vcpkg.json" = "vcpkg.json"
134+
"vcpkg-overlays" = "vcpkg-overlays"
135+
136+
132137
[tool.hatch.build.targets.wheel]
133138
packages = [
134139
"python_template_cpp",

vcpkg-overlays/.gitkeep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

vcpkg.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"dependencies": [],
3+
"configuration": {
4+
"overlay-ports": [
5+
"vcpkg-overlays"
6+
]
7+
}
8+
}

0 commit comments

Comments
 (0)