diff --git a/build-helpers/loopy.spec b/build-helpers/loopy.spec index ec420760abd4d43f16771d4745be6fd43f3cabb3..e24a24db9bda96f149e4279a6c37c1603476c3a4 100644 --- a/build-helpers/loopy.spec +++ b/build-helpers/loopy.spec @@ -2,9 +2,10 @@ single_file = True +from os.path import expanduser a = Analysis(['bin/loopy'], - pathex=['/home/andreas/src/loopy'], + pathex=[expanduser('~/src/loopy')], hiddenimports=[], hookspath=None, runtime_hooks=None, diff --git a/build-helpers/run-pyinstaller.sh b/build-helpers/run-pyinstaller.sh index 660c20fd4be4be4513b36cbf7d51de1fcac3a388..50f9d85dccc503be2a2ccfb6c0e3d6aa28216981 100755 --- a/build-helpers/run-pyinstaller.sh +++ b/build-helpers/run-pyinstaller.sh @@ -2,7 +2,7 @@ # run this from the loopy root directory -rm -Rf dist/loopy +rm -Rf dist build pyinstaller \ --workpath=build/pyinstaller \