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:
|
* Build with pyinstaller:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python3 -m pyinstaller pyinstaller.spec
|
python3 -m pyinstaller TETRIS2000.spec
|
||||||
```
|
```
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
@ -1,43 +1,43 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
|
|
||||||
block_cipher = None
|
block_cipher = None
|
||||||
|
|
||||||
|
|
||||||
a = Analysis(['TETRIS2000.py'],
|
a = Analysis(['TETRIS2000.py'],
|
||||||
pathex=[],
|
pathex=[],
|
||||||
binaries=[],
|
binaries=[],
|
||||||
datas=[
|
datas=[
|
||||||
("backgrounds/*", "backgrounds"),
|
("backgrounds/*", "backgrounds"),
|
||||||
("fonts/*.ttf", "fonts"),
|
("fonts/*.ttf", "fonts"),
|
||||||
("fonts/*.otf", "fonts"),
|
("fonts/*.otf", "fonts"),
|
||||||
("icons/*.ico", "icons"),
|
("icons/*.ico", "icons"),
|
||||||
("icons/splash_screen.png", "icons"),
|
("icons/splash_screen.png", "icons"),
|
||||||
("locale/*.qm", "locale"),
|
("locale/*.qm", "locale"),
|
||||||
("musics/*.mp3", "musics"),
|
("musics/*.mp3", "musics"),
|
||||||
("sfx/*.wav", "sfx")
|
("sfx/*.wav", "sfx")
|
||||||
],
|
],
|
||||||
hiddenimports=[],
|
hiddenimports=[],
|
||||||
hookspath=[],
|
hookspath=[],
|
||||||
runtime_hooks=[],
|
runtime_hooks=[],
|
||||||
excludes=["PyQt4", "PySide", "PySide2"],
|
excludes=["PyQt4", "PySide", "PySide2"],
|
||||||
win_no_prefer_redirects=False,
|
win_no_prefer_redirects=False,
|
||||||
win_private_assemblies=False,
|
win_private_assemblies=False,
|
||||||
cipher=block_cipher)
|
cipher=block_cipher)
|
||||||
pyz = PYZ(a.pure, a.zipped_data,
|
pyz = PYZ(a.pure, a.zipped_data,
|
||||||
cipher=block_cipher)
|
cipher=block_cipher)
|
||||||
exe = EXE(pyz,
|
exe = EXE(pyz,
|
||||||
a.scripts,
|
a.scripts,
|
||||||
exclude_binaries=True,
|
exclude_binaries=True,
|
||||||
name='TETRIS2000',
|
name='TETRIS2000',
|
||||||
debug=False,
|
debug=False,
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=False,
|
upx=False,
|
||||||
console=False,
|
console=False,
|
||||||
icon='icons\icon.ico')
|
icon='icons\icon.ico')
|
||||||
coll = COLLECT(exe,
|
coll = COLLECT(exe,
|
||||||
a.binaries,
|
a.binaries,
|
||||||
a.zipfiles,
|
a.zipfiles,
|
||||||
a.datas,
|
a.datas,
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=False,
|
upx=False,
|
||||||
name='TETRIS2000')
|
name='TETRIS2000')
|
Loading…
x
Reference in New Issue
Block a user