From 0eaecc0741ef63284d0a2c27449ee387063b7e25 Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Mon, 20 Jul 2015 14:37:23 -0400 Subject: [PATCH] Make Win --- .gitignore | 1 + AttributionReport.spec | 11 +++-------- make_win.sh | 2 ++ 3 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 make_win.sh diff --git a/.gitignore b/.gitignore index 49320f8..a49bc4d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.pyc +.idea build* diff --git a/AttributionReport.spec b/AttributionReport.spec index cce0669..8b45c02 100644 --- a/AttributionReport.spec +++ b/AttributionReport.spec @@ -7,16 +7,11 @@ a = Analysis(['main.py'], pyz = PYZ(a.pure) exe = EXE(pyz, a.scripts, - exclude_binaries=True, + a.binaries, + a.zipfiles, + a.datas, name='AttributionReport.exe', debug=False, strip=None, upx=True, console=True ) -coll = COLLECT(exe, - a.binaries, - a.zipfiles, - a.datas, - strip=None, - upx=True, - name='AttributionReport') diff --git a/make_win.sh b/make_win.sh new file mode 100644 index 0000000..364d599 --- /dev/null +++ b/make_win.sh @@ -0,0 +1,2 @@ +#!/bin/bash +pyinstaller main.py --name=AttributionReport -F