Skip to content

Commit 8b96cef

Browse files
committed
Added icon
An icon added to program. An icon embedded version placed in the folder 'build' to run the compiled program without external icon file.
1 parent d529c95 commit 8b96cef

File tree

6 files changed

+1086
-515
lines changed

6 files changed

+1086
-515
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build/build
2+
build/dist

build/icon.ico

58.2 KB
Binary file not shown.

build/text2excel.py

Lines changed: 526 additions & 0 deletions
Large diffs are not rendered by default.

build/text2excel.spec

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# -*- mode: python ; coding: utf-8 -*-
2+
3+
4+
a = Analysis(
5+
['text2excel.py'],
6+
pathex=[],
7+
binaries=[],
8+
datas=[],
9+
hiddenimports=[],
10+
hookspath=[],
11+
hooksconfig={},
12+
runtime_hooks=[],
13+
excludes=[],
14+
noarchive=False,
15+
optimize=0,
16+
)
17+
pyz = PYZ(a.pure)
18+
19+
exe = EXE(
20+
pyz,
21+
a.scripts,
22+
a.binaries,
23+
a.datas,
24+
[],
25+
name='text2excel',
26+
debug=False,
27+
bootloader_ignore_signals=False,
28+
strip=False,
29+
upx=True,
30+
upx_exclude=[],
31+
runtime_tmpdir=None,
32+
console=False,
33+
disable_windowed_traceback=False,
34+
argv_emulation=False,
35+
target_arch=None,
36+
codesign_identity=None,
37+
entitlements_file=None,
38+
icon=['icon.ico'],
39+
)

src/icon.png

3.86 KB
Loading

0 commit comments

Comments
 (0)