diff --git a/python/install_py_bindings.sh b/python/install_py_bindings.sh index 466b146ef..c145036fe 100755 --- a/python/install_py_bindings.sh +++ b/python/install_py_bindings.sh @@ -2,13 +2,5 @@ set -ex -#cd .. -#cargo build -p deltachat_ffi --release -#cd python - -export CFLAGS=-I`realpath ../deltachat-ffi` -# the followine line results in "libdeltachat.so" not found -# export LDFLAGS='-Wl,-rpath=$ORIGIN/../target/release -Wl,--enable-new-dtags' -pip install -e . -export LD_LIBRARY_PATH=`realpath ../target/release` -python -c "import deltachat" +cargo build -p deltachat_ffi --release +DCC_RS_DEV=`pwd`/.. pip install -e .