diff --git a/install.sh b/install.sh index ff8797d..0d7f640 100755 --- a/install.sh +++ b/install.sh @@ -1,10 +1,9 @@ -#!/bin/bash -e +#!/bin/bash echo "This builds nxt-python for Python 3" echo "and installs it to the user's home directory." echo "Root is not required." echo "" -rm -Rf ~/.local/lib/python3.4/site-packages/nxt -rm -Rf ~/.local/lib/python2.7/site-packages/nxt # should not be needed +rm -Rf ~/.local/lib/python3.*/site-packages/nxt python3 setup.py install --user