Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit b82e61d

Browse files
authored
python: fix bindings dir in templates (#273)
1 parent d552b7d commit b82e61d

File tree

4 files changed

+5
-5
lines changed
  • golem-templates/templates/python
    • python-app-common/common-python
    • python-app-component-default/components-python/component-name/src
    • python-app-component-example-gitpulse-agent/components-python/component-name/src
    • python-app-component-wasi-http/components-python/component-name/src

4 files changed

+5
-5
lines changed

golem-templates/templates/python/python-app-common/common-python/golem.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ templates:
55
build:
66
- command: uv run --package {{ component_name | to_kebab_case }} componentize-py --import-interface-name "wasi:http/[email protected]"="types" --import-interface-name "wasi:http/[email protected]"="outgoing_handler" --wit-path wit-generated bindings src
77
rmdirs:
8-
- src/{{ component_name | to_snake_case }}
8+
- src/wit_world
99
sources:
1010
- wit-generated
1111
targets:
12-
- src/{{ component_name | to_snake_case }}
12+
- src/wit_world
1313
- command: uv run --package {{ component_name | to_kebab_case }} componentize-py --import-interface-name "wasi:http/[email protected]"="types" --import-interface-name "wasi:http/[email protected]"="outgoing_handler" --wit-path wit-generated componentize -p src component -o ../../golem-temp/python/components/{{ component_name | to_snake_case }}.wasm
1414
mkdirs:
1515
- ../../golem-temp/python/components
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/component_name
1+
/wit_world/
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/component_name
1+
/wit_world/
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/component_name
1+
/wit_world/

0 commit comments

Comments
 (0)