Created
February 23, 2018 01:55
-
-
Save tzhenghao/a1ffc1bda61a9ba99a4f9ec794534260 to your computer and use it in GitHub Desktop.
This bash script cleans up the build and reinstalls the SDK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This bash script cleans up the build and reinstalls the SDK. | |
# To run this script, do: . test-cli.sh | |
VERSION_NUMBER=$(cat hologram-python/version.txt) | |
cd hologram-python | |
rm -rf dist | |
rm -rf hologram_python.egg-info | |
python setup.py sdist | |
cd /home/pi | |
rm -rf venv | |
virtualenv venv | |
. venv/bin/activate | |
pip install "hologram-python/dist/hologram-python-$VERSION_NUMBER.tar.gz" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment