improve distribution

This commit is contained in:
2021-09-30 18:53:24 +02:00
parent ba3ac65b21
commit e459463d5e
10 changed files with 98 additions and 5 deletions

11
distribution/pypi/build.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
set -e
PYTHON=$(which python)
script_dir=$(dirname "$(readlink -f -- "$BASH_SOURCE")")
pkg_dir=$(realpath "${script_dir}"/../..)
cd "${pkg_dir}"
${PYTHON} setup.py clean
${PYTHON} setup.py sdist bdist_wheel