From b350986e733fe80f6d596bfab59e4ac643033488 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 28 Jul 2026 22:56:55 +0000 Subject: [PATCH 1/2] Update from copier (2026-07-28T22:56:55) Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- .copier-answers.yaml | 3 ++- pyproject.toml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.copier-answers.yaml b/.copier-answers.yaml index e7de575..e1632d7 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -1,8 +1,9 @@ # Changes here will be overwritten by Copier -_commit: b2a4844 +_commit: da2acba _src_path: https://github.com/python-project-templates/base.git add_docs: true add_extension: cpp +add_vcpkg: false add_wiki: true email: 3105306+timkpaine@users.noreply.github.com github: python-project-templates diff --git a/pyproject.toml b/pyproject.toml index 4793e01..ba2fcc0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -129,6 +129,7 @@ packages = [ "cpp", ] + [tool.hatch.build.targets.wheel] packages = [ "python_template_cpp", From 39f99b0df997a37b9466f39e7396e1c5f5bdaf32 Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Tue, 28 Jul 2026 18:59:47 -0400 Subject: [PATCH 2/2] Enable vcpkg testing Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com> --- .copier-answers.yaml | 2 +- .github/workflows/build.yaml | 2 ++ .gitignore | 4 ++++ pyproject.toml | 4 ++++ vcpkg-overlays/.gitkeep | 1 + vcpkg.json | 8 ++++++++ 6 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 vcpkg-overlays/.gitkeep create mode 100644 vcpkg.json diff --git a/.copier-answers.yaml b/.copier-answers.yaml index e1632d7..3c72722 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -3,7 +3,7 @@ _commit: da2acba _src_path: https://github.com/python-project-templates/base.git add_docs: true add_extension: cpp -add_vcpkg: false +add_vcpkg: true add_wiki: true email: 3105306+timkpaine@users.noreply.github.com github: python-project-templates diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 26775af..5c4f9d0 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -52,6 +52,8 @@ jobs: - uses: actions-ext/cpp/setup@51c484ef64088c62434226039d0e3359f5fc8df6 + - uses: actions-ext/cpp/setup-vcpkg-cache@6ded4958b7e13d73428138a01d53c33cb941121d + - name: Install dependencies run: make develop diff --git a/.gitignore b/.gitignore index 59c4fff..e48ddfc 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,10 @@ __pycache__/ *.exp *.lib +# vcpkg +vcpkg/ +vcpkg_installed/ + # Rust target target-capi diff --git a/pyproject.toml b/pyproject.toml index ba2fcc0..f872905 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -129,6 +129,10 @@ packages = [ "cpp", ] +[tool.hatch.build.targets.sdist.force-include] +"vcpkg.json" = "vcpkg.json" +"vcpkg-overlays" = "vcpkg-overlays" + [tool.hatch.build.targets.wheel] packages = [ diff --git a/vcpkg-overlays/.gitkeep b/vcpkg-overlays/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/vcpkg-overlays/.gitkeep @@ -0,0 +1 @@ + diff --git a/vcpkg.json b/vcpkg.json new file mode 100644 index 0000000..edcd9e1 --- /dev/null +++ b/vcpkg.json @@ -0,0 +1,8 @@ +{ + "dependencies": [], + "configuration": { + "overlay-ports": [ + "vcpkg-overlays" + ] + } +}