From a401f7f83922175e35420188ee185629ee14e156 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Thu, 5 Feb 2015 14:12:49 -0600 Subject: [PATCH] Add pyinstaller settings --- loopy.spec | 24 ++++++++++++++++++++++++ run-pyinstaller.sh | 8 ++++++++ 2 files changed, 32 insertions(+) create mode 100644 loopy.spec create mode 100755 run-pyinstaller.sh diff --git a/loopy.spec b/loopy.spec new file mode 100644 index 000000000..d2b85b45e --- /dev/null +++ b/loopy.spec @@ -0,0 +1,24 @@ +# -*- mode: python -*- + +block_cipher = None + + +a = Analysis(['bin/loopy'], + pathex=['/home/andreas/src/loopy'], + hiddenimports=[], + hookspath=None, + runtime_hooks=None, + excludes=["hedge"], + cipher=block_cipher) +pyz = PYZ(a.pure, + cipher=block_cipher) +exe = EXE(pyz, + a.scripts, + a.binaries, + a.zipfiles, + a.datas, + name='loopy', + debug=False, + strip=None, + upx=True, + console=True ) diff --git a/run-pyinstaller.sh b/run-pyinstaller.sh new file mode 100755 index 000000000..23e2774e2 --- /dev/null +++ b/run-pyinstaller.sh @@ -0,0 +1,8 @@ +#! /bin/bash + +rm -Rf dist/loopy + +pyinstaller \ + --workpath=build/pyinstaller \ + loopy.spec +# --onedir \ -- GitLab