mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 23:34:49 +01:00
chore(python): temporary modification to the build script to make it easier to test with sublime
This commit is contained in:
parent
6448dea3fb
commit
53cd0068b5
1 changed files with 7 additions and 0 deletions
7
dist/py/build.sh
vendored
7
dist/py/build.sh
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue