Add script and metadata to build binary packages.

This commit is contained in:
Guilhem Lavaux 2020-04-28 18:23:44 +02:00
parent f35d0cc694
commit 6bc0b80e39
5 changed files with 718 additions and 1 deletions

12
builder/start.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash
d=$(pwd)
if test x"$(basename $d)" = xbuilder; then
d=${d}/../
fi
if ! [ -e ${d}/setup.py ] ; then
echo "Unknown directory. Please move to the root of cosmotool source tree."
exit 1
fi
podman run -ti --rm -e PLAT=manylinux2014_x86_64 -v ${d}:/io:Z quay.io/pypa/manylinux2014_x86_64 /io/builder/build-wheels.sh