Skip to content

Commit

Permalink
added spec files so other people trying to compile using pyinstaller …
Browse files Browse the repository at this point in the history
…have a place to start and so I have something sensable to commit when making a new release
  • Loading branch information
Caoimhinmg committed Mar 14, 2017
1 parent d0863e6 commit 0828394
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
28 changes: 28 additions & 0 deletions MagicGUI_Ubuntu14_04x64.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# -*- mode: python -*-

block_cipher = None


a = Analysis(['programs/magic_gui.py'],
pathex=['/home/kevin/Code/Paleomag/PmagPy'],
binaries=None,
datas=[('./pmagpy/data_model','./data_model')],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
name='MagicGUI_Ubuntu14_04x64',
debug=False,
strip=False,
upx=True,
console=False , icon='programs/images/PmagPy.ico')
28 changes: 28 additions & 0 deletions PmagGUI_Ubuntu14_04x64.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# -*- mode: python -*-

block_cipher = None


a = Analysis(['programs/pmag_gui.py'],
pathex=['/home/kevin/Code/Paleomag/PmagPy'],
binaries=None,
datas=[('./pmagpy/data_model/*','./data_model')],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
name='PmagGUI_Ubuntu14_04x64',
debug=False,
strip=False,
upx=True,
console=False , icon='programs/images/PmagPy.ico')

0 comments on commit 0828394

Please sign in to comment.