chore(python): temporary modification to the build script to make it easier to test with sublime

This commit is contained in:
cschen 2024-08-09 09:13:14 +02:00
parent 6448dea3fb
commit 53cd0068b5

7
dist/py/build.sh vendored
View file

@ -5,3 +5,10 @@ PYO3_PYTHON="$(pyenv which python)"
TARGET_EXT="$($PYO3_PYTHON -c 'import sysconfig; print(sysconfig.get_config_var("EXT_SUFFIX"))')" TARGET_EXT="$($PYO3_PYTHON -c 'import sysconfig; print(sysconfig.get_config_var("EXT_SUFFIX"))')"
maturin build -i "$PYO3_PYTHON" --out "$WHEEL_DIR" 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