blob: 92987af7138dd38c0a32dc52115794c48bde2cee [file] [log] [blame]
Martin v. Löwis56bf6f82012-06-21 16:27:58 +02001#include <windows.h>
2
Steve Dower5f621122015-09-22 18:20:58 -07003#include "python_ver_rc.h"
Martin v. Löwis56bf6f82012-06-21 16:27:58 +02004
Steve Dower5f621122015-09-22 18:20:58 -07005// Include the manifest file that indicates we support all
6// current versions of Windows.
7#include <winuser.h>
81 RT_MANIFEST "python.manifest"
9
Steve Dower0cd63912018-12-10 18:52:57 -080010#if defined(PY_ICON)
111 ICON DISCARDABLE "icons\python.ico"
12#elif defined(PYW_ICON)
131 ICON DISCARDABLE "icons\pythonw.ico"
14#else
Steve Dowerc7d1cf42016-09-05 14:05:17 -0700151 ICON DISCARDABLE "icons\launcher.ico"
162 ICON DISCARDABLE "icons\py.ico"
173 ICON DISCARDABLE "icons\pyc.ico"
184 ICON DISCARDABLE "icons\pyd.ico"
195 ICON DISCARDABLE "icons\python.ico"
206 ICON DISCARDABLE "icons\pythonw.ico"
217 ICON DISCARDABLE "icons\setup.ico"
Steve Dower0cd63912018-12-10 18:52:57 -080022#endif
Steve Dower5f621122015-09-22 18:20:58 -070023
24/////////////////////////////////////////////////////////////////////////////
25//
26// Version
27//
Martin v. Löwis56bf6f82012-06-21 16:27:58 +020028
29VS_VERSION_INFO VERSIONINFO
30 FILEVERSION PYVERSION64
31 PRODUCTVERSION PYVERSION64
Steve Dower5f621122015-09-22 18:20:58 -070032 FILEFLAGSMASK 0x3fL
Martin v. Löwis56bf6f82012-06-21 16:27:58 +020033#ifdef _DEBUG
Steve Dower5f621122015-09-22 18:20:58 -070034 FILEFLAGS VS_FF_DEBUG
Martin v. Löwis56bf6f82012-06-21 16:27:58 +020035#else
36 FILEFLAGS 0x0L
37#endif
Steve Dower5f621122015-09-22 18:20:58 -070038 FILEOS VOS__WINDOWS32
39 FILETYPE VFT_APP
Martin v. Löwis56bf6f82012-06-21 16:27:58 +020040 FILESUBTYPE 0x0L
41BEGIN
42 BLOCK "StringFileInfo"
43 BEGIN
Steve Dower5f621122015-09-22 18:20:58 -070044 BLOCK "000004b0"
Martin v. Löwis56bf6f82012-06-21 16:27:58 +020045 BEGIN
Steve Dower5f621122015-09-22 18:20:58 -070046 VALUE "CompanyName", PYTHON_COMPANY "\0"
47 VALUE "FileDescription", "Python\0"
Martin v. Löwis56bf6f82012-06-21 16:27:58 +020048 VALUE "FileVersion", PYTHON_VERSION
Steve Dower5f621122015-09-22 18:20:58 -070049 VALUE "InternalName", "Python Launcher\0"
50 VALUE "LegalCopyright", PYTHON_COPYRIGHT "\0"
51 VALUE "OriginalFilename", "py" PYTHON_DEBUG_EXT ".exe\0"
52 VALUE "ProductName", "Python\0"
Martin v. Löwis56bf6f82012-06-21 16:27:58 +020053 VALUE "ProductVersion", PYTHON_VERSION
54 END
55 END
56 BLOCK "VarFileInfo"
57 BEGIN
Steve Dower5f621122015-09-22 18:20:58 -070058 VALUE "Translation", 0x0, 1200
Martin v. Löwis56bf6f82012-06-21 16:27:58 +020059 END
Steve Dower5f621122015-09-22 18:20:58 -070060END