forked from NuAoA/AnnouncementWindow
-
Notifications
You must be signed in to change notification settings - Fork 4
/
run.spec
38 lines (33 loc) · 1.03 KB
/
run.spec
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
# -*- mode: python -*-
import shutil, os
block_cipher = None
a = Analysis(['run.py'],
pathex=['D:\\workspace\\Announcement Window\\AnnouncementWindow'],
binaries=None,
datas=None,
hiddenimports=[],
hookspath=None,
runtime_hooks=None,
excludes=None,
win_no_prefer_redirects=None,
win_private_assemblies=None,
cipher=block_cipher)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
name='AnnouncementWindow',
debug=False,
strip=None,
upx=True,
console=False,
icon='Data\\favicon.ico',
)
os.makedirs('dist/Data')
shutil.copyfile('Data/favicon.ico', 'dist/Data/favicon.ico')
shutil.copyfile('filters.txt', 'dist/filters.txt')
shutil.copyfile('Data/filters.dat', 'dist/Data/filters.dat')
shutil.copyfile('readme.md', 'dist/readme.md')