-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPerfectPixel.spec
More file actions
53 lines (48 loc) · 1.12 KB
/
Copy pathPerfectPixel.spec
File metadata and controls
53 lines (48 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# -*- mode: python ; coding: utf-8 -*-
from pathlib import Path
project_root = Path(SPEC).resolve().parent
a = Analysis(
[str(project_root / "app.py")],
pathex=[str(project_root)],
binaries=[],
datas=[
(str(project_root / "assets" / "perfect_pixel.ico"), "assets"),
(str(project_root / "assets" / "perfect_pixel.png"), "assets"),
],
hiddenimports=[
"perfect_pixel.perfect_pixel",
"PIL._tkinter_finder",
],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[
"gradio",
"matplotlib",
"pandas",
"scipy",
],
noarchive=False,
optimize=1,
)
pyz = PYZ(a.pure)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.datas,
[],
name="PerfectPixel",
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=False,
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon=str(project_root / "assets" / "perfect_pixel.ico"),
version=str(project_root / "version_info.txt"),
)