From 53cd0068b52237366bf1018b3c139ad22acb2945 Mon Sep 17 00:00:00 2001 From: cschen Date: Fri, 9 Aug 2024 09:13:14 +0200 Subject: [PATCH] chore(python): temporary modification to the build script to make it easier to test with sublime --- dist/py/build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dist/py/build.sh b/dist/py/build.sh index 3689d74..b700e6c 100755 --- a/dist/py/build.sh +++ b/dist/py/build.sh @@ -5,3 +5,10 @@ PYO3_PYTHON="$(pyenv which python)" TARGET_EXT="$($PYO3_PYTHON -c 'import sysconfig; print(sysconfig.get_config_var("EXT_SUFFIX"))')" maturin build -i "$PYO3_PYTHON" --out "$WHEEL_DIR" + +CODEMPSUBLIME_DIR="../../../codemp-sublime/bindings/" + +wheels=($WHEEL_DIR/*.whl) +for wheel in $wheels; do + cp $wheel "$CODEMPSUBLIME_DIR" +done