install.sh 269 Bytes
Newer Older
Shifang Xu's avatar
Shifang Xu committed
1
2
3
4
5
6
7
8
9
10
11
12
# Change current directory into project root
original_dir=$(pwd)
script_dir=$(dirname "$0")
cd "$script_dir"

# Remove old dist file, build, and install
rm -rf dist
python setup.py bdist_wheel
pip install dist/*.whl

# Open users' original directory
cd "$original_dir"