Bugfix: Check argument types and encodings in zts_py_send()

This commit is contained in:
Joseph Henry
2021-03-16 23:30:14 -07:00
parent 9b79c2616d
commit 73e26c1a79
10 changed files with 349 additions and 201 deletions

View File

@@ -1,7 +1,6 @@
#!/bin/bash
PYBIN=python3.9
#PYBIN=/opt/python/cp39-cp39/bin/python3
PYBIN=python3
# Build the extension module
ext()
@@ -11,8 +10,6 @@ ext()
# Copy language bindings into module directory
cp -f native/src/bindings/python/*.py libzt/
cp -f native/LICENSE.txt LICENSE
#mkdir -p build/temp.macosx-11-x86_64-3.9
#mkdir -p build/temp.linux-x86_64-3.8
# Build C libraries (and then) C++ extension
$PYBIN setup.py build_clib --verbose build_ext -i --verbose
}
@@ -36,26 +33,4 @@ clean()
rm -rf LICENSE
}
manylinux()
{
CONTAINER="quay.io/pypa/manylinux_2_24_x86_64"
docker pull ${CONTAINER}
docker run --rm -it --entrypoint bash -v $(pwd)/../../:/media/libzt ${CONTAINER}
}
cycle()
{
#clean
#swig -c++ -python -o ../../src/bindings/python/zt_wrap.cpp -I../../include ../../src/bindings/python/zt.i
#wheel
#pip3 uninstall -y libzt
#pip3 install dist/libzt-1.3.3-cp39-cp39-macosx_11_0_x86_64.whl
}
update-version()
{
echo "__version__ = \"$(git describe)\"" > libzt/version.py
}
"$@"