Skip to content

Commit

Permalink
reinstall p4a script
Browse files Browse the repository at this point in the history
  • Loading branch information
brussee committed Jul 19, 2016
1 parent d8201d7 commit 06c2056
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 1 addition & 2 deletions android/TriblerService/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ set -e

export PATH="~/.local/bin/:$PATH"

#echo Get the latest P4A
#pip install --user --upgrade git+https://github.com/kivy/python-for-android.git
#./reinstall_p4a.sh

#copy bootstraps and recipes
cp -R bootstraps ~/.local/lib/python2.7/site-packages/pythonforandroid/
Expand Down
10 changes: 10 additions & 0 deletions android/TriblerService/reinstall_p4a.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

set -e

pip uninstall python-for-android
rm -rf ~/.local/lib/python2.7/site-packages/pythonforandroid/bootstraps
rm -rf ~/.local/lib/python2.7/site-packages/pythonforandroid/recipes

echo Get the latest P4A
pip install --user --upgrade git+https://github.com/brussee/python-for-android.git

0 comments on commit 06c2056

Please sign in to comment.