• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Resource script for Python console EXEs.
2
3#include "python_ver_rc.h"
4
5#ifndef RT_MANIFEST
6// bpo-45220: Cannot reliably #include RT_MANIFEST from
7// anywhere, so we hardcode it
8#define RT_MANIFEST 24
9#endif
10
11// Include the manifest file that indicates we support all
12// current versions of Windows.
131 RT_MANIFEST "python.manifest"
14
151 ICON DISCARDABLE "icons\pythonw.ico"
16
17
18/////////////////////////////////////////////////////////////////////////////
19//
20// Version
21//
22
23VS_VERSION_INFO VERSIONINFO
24 FILEVERSION PYVERSION64
25 PRODUCTVERSION PYVERSION64
26 FILEFLAGSMASK 0x3fL
27#ifdef _DEBUG
28 FILEFLAGS VS_FF_DEBUG
29#else
30 FILEFLAGS 0x0L
31#endif
32 FILEOS VOS__WINDOWS32
33 FILETYPE VFT_APP
34 FILESUBTYPE 0x0L
35BEGIN
36    BLOCK "StringFileInfo"
37    BEGIN
38        BLOCK "000004b0"
39        BEGIN
40            VALUE "CompanyName", PYTHON_COMPANY "\0"
41            VALUE "FileDescription", "Python\0"
42            VALUE "FileVersion", PYTHON_VERSION
43            VALUE "InternalName", "Python Application\0"
44            VALUE "LegalCopyright", PYTHON_COPYRIGHT "\0"
45            VALUE "OriginalFilename", "pythonw" PYTHON_DEBUG_EXT ".exe\0"
46            VALUE "ProductName", "Python\0"
47            VALUE "ProductVersion", PYTHON_VERSION
48        END
49    END
50    BLOCK "VarFileInfo"
51    BEGIN
52        VALUE "Translation", 0x0, 1200
53    END
54END
55