use pypa/build instead of setup.py when building sdist

This commit is contained in:
Hubert Chathi 2023-11-21 21:25:55 -05:00
parent 807b252331
commit 972faaadd5

View file

@ -24,7 +24,7 @@ find libolm -name \#\*\# -delete
echo "Building" echo "Building"
patch -p1 < $SRC/packaging.diff patch -p1 < $SRC/packaging.diff
python3 setup.py sdist python3 -m build -s
echo "Copying result" echo "Copying result"
mkdir -p $SRC/dist mkdir -p $SRC/dist