Skip to content

Commit

Permalink
Ensure the script affects any and only Python 3.x releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Eelviny committed Apr 22, 2016
1 parent 6a79923 commit 0f9ae43
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0f9ae43

Please sign in to comment.