chore: remove sublime-asyncio dependency and old build file.

Former-commit-id: dd689650d2756ce4c4e97de0f8dd9a2d88063a37
This commit is contained in:
cschen 2024-09-05 20:56:10 +02:00
parent 13d1024979
commit b844594a53
3 changed files with 0 additions and 31 deletions

3
.gitmodules vendored
View file

@ -1,3 +0,0 @@
[submodule "ext/sublime_asyncio"]
path = ext/sublime_asyncio
url = git@github.com:sublimelsp/sublime_asyncio.git

View file

@ -1,27 +0,0 @@
#!/bin/sh
ROOT_DIR="$(pwd)"
BUILD_DIR="$ROOT_DIR/target/debug/"
WHEEL_DIR="$ROOT_DIR/target/wheels"
FILENAME="libcodemp"
TARGET_DIR="$ROOT_DIR/bindings"
SO_NAME="codemp"
WHEEL_NAME="Codemp_Sublime"
PYO3_PYTHON="$(pyenv which python)"
TARGET_EXT="$($PYO3_PYTHON -c 'import sysconfig; print(sysconfig.get_config_var("EXT_SUFFIX"))')"
SO_TARGET="${SO_NAME}${TARGET_EXT}"
echo "Building .SO with python: $PYO3_PYTHON"
env PYO3_PYTHON="${PYO3_PYTHON}" cargo build
echo "Copying into: $TARGET_DIR/$SO_TARGET"
echo "Building python wheels..."
maturin build -i "$PYO3_PYTHON"
wheels=($WHEEL_DIR/$WHEEL_NAME*.whl)
for whl in $wheels; do
cp $whl $TARGET_DIR
done
ditto "$BUILD_DIR/${FILENAME}.dylib" "$TARGET_DIR/$SO_TARGET"

@ -1 +0,0 @@
Subproject commit 6a8eb2dbd36c72b34eb0078bc1b3cb96f1692acb