Skip to content

Commit

Permalink
Pyinstaller support for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ttoino committed Jan 28, 2021
1 parent 914bcf4 commit b39240c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions solitaire-linux.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# -*- mode: python ; coding: utf-8 -*-

block_cipher = None


a = Analysis(['src/main.py'],
pathex=['/usr/local/lib/python3.8/dist-packages/pynanosvg-0.3.1-py3.8-linux-x86_64.egg'],
binaries=[],
datas=[('assets/*.svg', 'assets/'), ('assets/icons/*.svg', 'assets/icons/'), ('assets/*.ttf', 'assets/')],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
name='Solitaire-Linux',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=False )
2 changes: 1 addition & 1 deletion solitaire-win.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ exe = EXE(pyz,
a.zipfiles,
a.datas,
[],
name='Solitaire',
name='Solitaire-Win',
debug=False,
bootloader_ignore_signals=False,
strip=False,
Expand Down

0 comments on commit b39240c

Please sign in to comment.