Skip to content

Commit 5bfe692

Browse files
Update from Copier (2026-11-15T00-07-14Z)
Signed-off-by: python-templates-copier-update[bot] <python-templates-copier-update[bot]@users.noreply.github.com>
1 parent 85df311 commit 5bfe692

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

‎.copier-answers.yaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changes here will be overwritten by Copier
2-
_commit: 02f55bd
2+
_commit: faa8776
33
_src_path: https://github.com/python-project-templates/base.git
4+
add_c_abi: false
45
add_docs: true
56
add_extension: cppjswasm
67
add_pyodide: true

‎js/build.mjs‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import { node_modules_external } from "./tools/externals.mjs";
55
import fs from "fs";
66
import cpy from "cpy";
77

8+
const EXTENSION = "../python_template_cppjswasm/extension";
9+
810
const BUNDLES = [
911
{
1012
entryPoints: ["src/ts/index.ts"],
@@ -25,7 +27,7 @@ async function build() {
2527
}
2628
}
2729
}
28-
fs.rmSync("../python_template_cppjswasm/extension", {
30+
fs.rmSync(EXTENSION, {
2931
recursive: true,
3032
force: true,
3133
});
@@ -45,8 +47,8 @@ async function build() {
4547
await Promise.all(BUNDLES.map(bundle)).catch(() => process.exit(1));
4648

4749
// Copy servable assets to python extension (exclude esm/)
48-
fs.mkdirSync("../python_template_cppjswasm/extension", { recursive: true });
49-
await cpy("dist/**/*", "../python_template_cppjswasm/extension", {
50+
fs.mkdirSync(EXTENSION, { recursive: true });
51+
await cpy("dist/**/*", EXTENSION, {
5052
filter: (file) =>
5153
!file.relativePath.startsWith("esm/") &&
5254
!file.relativePath.startsWith("dist/esm/"),
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1+
class Example:
2+
stuff: str
3+
4+
def __init__(self, value: str) -> None: ...
5+
16
def add(i: int, j: int) -> int: ...

0 commit comments

Comments
 (0)