Skip to content

Commit

Permalink
updated pyinstaller spec files
Browse files Browse the repository at this point in the history
  • Loading branch information
skydeo committed Apr 22, 2019
1 parent 02138f9 commit ffda55c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
File renamed without changes.
29 changes: 29 additions & 0 deletions build.windows.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import gooey
gooey_root = os.path.dirname(gooey.__file__)
gooey_languages = Tree(os.path.join(gooey_root, 'languages'), prefix = 'gooey/languages')
gooey_images = Tree(os.path.join(gooey_root, 'images'), prefix = 'gooey/images')
a = Analysis(['csdco-metadata-aggregator.py'],
pathex=[r'C:\Users\xander\AppData\Local\Programs\Python\Python37-32\python.exe'],
hiddenimports=[],
hookspath=None,
runtime_hooks=None,
)
pyz = PYZ(a.pure)

options = [('u', None, 'OPTION'), ('u', None, 'OPTION'), ('u', None, 'OPTION')]

exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
options,
gooey_languages, # Add them in to collected files
gooey_images, # Same here.
name='CSDCO Metadata Aggregator.exe',
debug=False,
strip=None,
upx=True,
console=False,
windowed=True,
icon=os.path.join(gooey_root, 'images', 'program_icon.ico'))

0 comments on commit ffda55c

Please sign in to comment.