• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#include <windows.h>
2
3#include "python_ver_rc.h"
4
5// Include the manifest file that indicates we support all
6// current versions of Windows.
7#include <winuser.h>
81 RT_MANIFEST "python.manifest"
9
10#if defined(PY_ICON)
111 ICON DISCARDABLE "icons\python.ico"
12#elif defined(PYW_ICON)
131 ICON DISCARDABLE "icons\pythonw.ico"
14#else
151 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"
22#endif
23
24/////////////////////////////////////////////////////////////////////////////
25//
26// Version
27//
28
29VS_VERSION_INFO VERSIONINFO
30 FILEVERSION PYVERSION64
31 PRODUCTVERSION PYVERSION64
32 FILEFLAGSMASK 0x3fL
33#ifdef _DEBUG
34 FILEFLAGS VS_FF_DEBUG
35#else
36 FILEFLAGS 0x0L
37#endif
38 FILEOS VOS__WINDOWS32
39 FILETYPE VFT_APP
40 FILESUBTYPE 0x0L
41BEGIN
42    BLOCK "StringFileInfo"
43    BEGIN
44        BLOCK "000004b0"
45        BEGIN
46            VALUE "CompanyName", PYTHON_COMPANY "\0"
47            VALUE "FileDescription", "Python\0"
48            VALUE "FileVersion", PYTHON_VERSION
49            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"
53            VALUE "ProductVersion", PYTHON_VERSION
54        END
55    END
56    BLOCK "VarFileInfo"
57    BEGIN
58        VALUE "Translation", 0x0, 1200
59    END
60END