-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathappunti.txt
More file actions
19 lines (13 loc) · 838 Bytes
/
Copy pathappunti.txt
File metadata and controls
19 lines (13 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Per compilare il programma in un eseguibile.
Modo consigliato (usa lo spec; NON impacchetta i libri):
pyinstaller chessMain.spec
Oppure a riga di comando (one-dir):
pyinstaller --onedir chessMain.py --add-data "images/*.png;images" --add-data "pic-chess.png;."
!!! IMPORTANTE — NON impacchettare MAI la cartella books/ !!!
La cartella books/ contiene libri d'apertura COMMERCIALI (Fritz14.bin,
PowerBook2022.bin, StrongBook2022.bin, CorrBook2022.bin -- ChessBase/Fritz)
che NON possono essere ridistribuiti. Tenerli in locale per uso personale e'
lecito; includerli nel pacchetto distribuito NO.
Quindi NON usare mai l'opzione: --add-data "books/*.bin;books"
L'utente finale scarica da solo un libro Polyglot gratuito (vedi INSTALL.md, §2
"Libro d'apertura Polyglot"). La cartella books/ viene creata vuota al bisogno.