From c381c7b886a66b74e12b8b01c5b926cdab2981b6 Mon Sep 17 00:00:00 2001 From: adrienmalin <41926238+adrienmalin@users.noreply.github.com> Date: Tue, 21 Aug 2018 19:50:08 +0200 Subject: [PATCH] Rename .spec --- README.md | 2 +- pyinstaller.spec => TETRIS2000.spec | 84 ++++++++++++++--------------- 2 files changed, 43 insertions(+), 43 deletions(-) rename pyinstaller.spec => TETRIS2000.spec (94%) diff --git a/README.md b/README.md index 12925f9..692eb80 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Yet another Tetris clone, with Qt5 on Python 3 * Build with pyinstaller: ```bash - python3 -m pyinstaller pyinstaller.spec + python3 -m pyinstaller TETRIS2000.spec ``` ## Credits diff --git a/pyinstaller.spec b/TETRIS2000.spec similarity index 94% rename from pyinstaller.spec rename to TETRIS2000.spec index 3e15de1..bf4d054 100644 --- a/pyinstaller.spec +++ b/TETRIS2000.spec @@ -1,43 +1,43 @@ -# -*- mode: python -*- - -block_cipher = None - - -a = Analysis(['TETRIS2000.py'], - pathex=[], - binaries=[], - datas=[ - ("backgrounds/*", "backgrounds"), - ("fonts/*.ttf", "fonts"), - ("fonts/*.otf", "fonts"), - ("icons/*.ico", "icons"), - ("icons/splash_screen.png", "icons"), - ("locale/*.qm", "locale"), - ("musics/*.mp3", "musics"), - ("sfx/*.wav", "sfx") - ], - hiddenimports=[], - hookspath=[], - runtime_hooks=[], - excludes=["PyQt4", "PySide", "PySide2"], - 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, - exclude_binaries=True, - name='TETRIS2000', - debug=False, - strip=False, - upx=False, - console=False, - icon='icons\icon.ico') -coll = COLLECT(exe, - a.binaries, - a.zipfiles, - a.datas, - strip=False, - upx=False, +# -*- mode: python -*- + +block_cipher = None + + +a = Analysis(['TETRIS2000.py'], + pathex=[], + binaries=[], + datas=[ + ("backgrounds/*", "backgrounds"), + ("fonts/*.ttf", "fonts"), + ("fonts/*.otf", "fonts"), + ("icons/*.ico", "icons"), + ("icons/splash_screen.png", "icons"), + ("locale/*.qm", "locale"), + ("musics/*.mp3", "musics"), + ("sfx/*.wav", "sfx") + ], + hiddenimports=[], + hookspath=[], + runtime_hooks=[], + excludes=["PyQt4", "PySide", "PySide2"], + 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, + exclude_binaries=True, + name='TETRIS2000', + debug=False, + strip=False, + upx=False, + console=False, + icon='icons\icon.ico') +coll = COLLECT(exe, + a.binaries, + a.zipfiles, + a.datas, + strip=False, + upx=False, name='TETRIS2000') \ No newline at end of file