2025-07-18 11:32:22 +08:00
|
|
|
# Change current directory into project root
|
|
|
|
|
original_dir=$(pwd)
|
|
|
|
|
script_dir=$(realpath "$(dirname "$0")")
|
|
|
|
|
cd "$script_dir"
|
|
|
|
|
|
2025-08-02 19:52:22 -07:00
|
|
|
# Remove old dist file, build files, and install
|
2025-07-18 11:32:22 +08:00
|
|
|
rm -rf build dist
|
|
|
|
|
rm -rf *.egg-info
|
|
|
|
|
python setup.py bdist_wheel
|
|
|
|
|
pip install dist/*.whl
|
|
|
|
|
|
|
|
|
|
# Open users' original directory
|
|
|
|
|
cd "$original_dir"
|