Rename .spec
This commit is contained in:
parent
64f12e84db
commit
c381c7b886
@ -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
|
||||
|
@ -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')
|
Loading…
x
Reference in New Issue
Block a user