From 9c168200ff16ebf55fe4e782ecbe4d38a7a840d3 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Wed, 10 Jun 2015 16:43:28 -0500 Subject: [PATCH] Minor binary build fixes --- build-helpers/loopy.spec | 3 ++- build-helpers/run-pyinstaller.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build-helpers/loopy.spec b/build-helpers/loopy.spec index ec420760a..e24a24db9 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 660c20fd4..50f9d85dc 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 \ -- GitLab