Files
DeepGEMM/install.sh

14 lines
307 B
Bash
Raw Normal View History

# Change current directory into project root
original_dir=$(pwd)
script_dir=$(realpath "$(dirname "$0")")
cd "$script_dir"
# Remove old dist file, build, and install
rm -rf build dist
rm -rf *.egg-info
python setup.py bdist_wheel
pip install dist/*.whl
# Open users' original directory
cd "$original_dir"