add build.sh to build sdist and bdist_wheel for pypi
This commit is contained in:
8
distribution/pypi/build.sh
Executable file
8
distribution/pypi/build.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
script_dir="$(dirname "$(readlink -f -- "$BASH_SOURCE")")"
|
||||
pkg_dir="$(realpath "${script_dir}/../..")"
|
||||
setup="$(which python) setup.py"
|
||||
cd "${pkg_dir}"
|
||||
${setup} clean
|
||||
${setup} sdist bdist_wheel
|
||||
Reference in New Issue
Block a user