From 5f9a3b1c03d6bf4ab43de7491f74664f10f5b562 Mon Sep 17 00:00:00 2001 From: reis_at Date: Tue, 24 Mar 2026 13:24:58 +0100 Subject: [PATCH 1/2] copy source code after install --- recipe/bld.bat | 5 +++++ recipe/build.sh | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/recipe/bld.bat b/recipe/bld.bat index ab68ac9..1c0602c 100644 --- a/recipe/bld.bat +++ b/recipe/bld.bat @@ -14,3 +14,8 @@ if errorlevel 1 exit 1 ninja install if errorlevel 1 exit 1 + +REM copy the source +cd .. +xcopy src "%LIBRARY_PREFIX%\src\pythonocc-core\src" /s /e /i +if errorlevel 1 exit 1 diff --git a/recipe/build.sh b/recipe/build.sh index 52764f3..15a0e02 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -15,3 +15,8 @@ cmake ${CMAKE_ARGS} -G Ninja \ .. ninja install + +# copy the source +mkdir -p $PREFIX/src +mkdir -p $PREFIX/src/pythonocc-core +cp -r src $PREFIX/src/pythonocc-core From bb9ad1ea49d67fc90ac244ee5114750126cbd025 Mon Sep 17 00:00:00 2001 From: reis_at Date: Tue, 24 Mar 2026 13:27:48 +0100 Subject: [PATCH 2/2] bump build number to 3 --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 5e55386..70f1bea 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,6 +1,6 @@ {% set version = "7.9.3" %} {% set occt_version = "7.9.3" %} -{% set build = 2 %} +{% set build = 3 %} # Higher number -> Always prioritize "all" variant over "novtk" variant {% set build = build + 100 %} # [variant == "novtk"]