build_wheel.sh 388 Bytes
Newer Older
1
2
3
4
5
6
7
#!/bin/bash
set -ex

script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
. "$script_dir/pkg_helpers.bash"

setup_python
Edward Z. Yang's avatar
Edward Z. Yang committed
8
setup_cuda_suffix
9
10
11
12
13
14
15
setup_build_version 0.4.0
setup_macos
"$script_dir/build_from_source.sh" "$(pwd)"  # Build static dependencies
pip_install numpy future
setup_pip_pytorch_version
python setup.py clean
IS_WHEEL=1 python setup.py bdist_wheel