개정판 fa332baf
issue #000: set executable's version
Change-Id: Id51598e3add0282e8314fe41799286e256edb7ab
App.spec | ||
---|---|---|
2 | 2 |
|
3 | 3 |
block_cipher = None |
4 | 4 |
|
5 |
|
|
6 | 5 |
a = Analysis(['C:\\Temp\\workspace\\HYTOS\\HYTOS\\HYTOS\\App.py'], |
7 | 6 |
pathex=['C:\\Temp\\workspace\\HYTOS\\HYTOS\\HYTOS', 'C:\\Temp\\workspace\\HYTOS\\HYTOS\\HYTOS\\Commands', 'C:\\Temp\\workspace\\HYTOS\\HYTOS\\HYTOS\\Shapes'], |
8 | 7 |
binaries=[], |
... | ... | |
24 | 23 |
pyz = PYZ(a.pure, a.zipped_data, |
25 | 24 |
cipher=block_cipher) |
26 | 25 |
exe = EXE(pyz, |
27 |
a.scripts, |
|
28 |
[], |
|
29 |
exclude_binaries=True, |
|
30 |
name='HYTOS', |
|
31 |
debug=False, |
|
32 |
bootloader_ignore_signals=False, |
|
33 |
strip=False, |
|
34 |
upx=True, |
|
35 |
console=False ) |
|
26 |
a.scripts, |
|
27 |
[], |
|
28 |
exclude_binaries=True, |
|
29 |
name='HYTOS', |
|
30 |
debug=False, |
|
31 |
bootloader_ignore_signals=False, |
|
32 |
strip=False, |
|
33 |
upx=True, |
|
34 |
console=False, |
|
35 |
version='version.rc') |
|
36 | 36 |
coll = COLLECT(exe, |
37 |
a.binaries, |
|
38 |
a.zipfiles, |
|
39 |
a.datas, |
|
40 |
strip=False, |
|
41 |
upx=True, |
|
42 |
name='App') |
|
37 |
a.binaries, |
|
38 |
a.zipfiles, |
|
39 |
a.datas, |
|
40 |
strip=False, |
|
41 |
upx=True, |
|
42 |
name='App') |
version.rc | ||
---|---|---|
1 |
# UTF-8 |
|
2 |
# |
|
3 |
# For more details about fixed file info 'ffi' see: |
|
4 |
# http://msdn.microsoft.com/en-us/library/ms646997.aspx |
|
5 |
VSVersionInfo( |
|
6 |
ffi=FixedFileInfo( |
|
7 |
# filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4) |
|
8 |
# Set not needed items to zero 0. |
|
9 |
filevers=(1, 0, 0, 0), |
|
10 |
prodvers=(1, 0, 0, 0), |
|
11 |
# Contains a bitmask that specifies the valid bits 'flags'r |
|
12 |
mask=0x3f, |
|
13 |
# Contains a bitmask that specifies the Boolean attributes of the file. |
|
14 |
flags=0x0, |
|
15 |
# The operating system for which this file was designed. |
|
16 |
# 0x4 - NT and there is no need to change it. |
|
17 |
OS=0x4, |
|
18 |
# The general type of file. |
|
19 |
# 0x1 - the file is an application. |
|
20 |
fileType=0x1, |
|
21 |
# The function of the file. |
|
22 |
# 0x0 - the function is not defined for this fileType |
|
23 |
subtype=0x0, |
|
24 |
# Creation date and time stamp. |
|
25 |
date=(0, 0) |
|
26 |
), |
|
27 |
kids=[ |
|
28 |
StringFileInfo( |
|
29 |
[ |
|
30 |
StringTable( |
|
31 |
u'040904B0', |
|
32 |
[StringStruct(u'CompanyName', u'SECL'), |
|
33 |
StringStruct(u'FileDescription', u'Hydraulic Calculator'), |
|
34 |
StringStruct(u'FileVersion', u'1.0.0'), |
|
35 |
StringStruct(u'InternalName', u'HYTOS'), |
|
36 |
StringStruct(u'LegalCopyright', u'Copyright(c) SECL'), |
|
37 |
StringStruct(u'OriginalFilename', u'HYTOS.exe'), |
|
38 |
StringStruct(u'ProductName', u'HYTOS'), |
|
39 |
StringStruct(u'ProductVersion', u'1.0.0')]) |
|
40 |
]), |
|
41 |
VarFileInfo([VarStruct(u'Translation', [1033, 1200])]) |
|
42 |
] |
|
43 |
) |
내보내기 Unified diff