• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Resource script for Python core DLL.
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.
132 RT_MANIFEST "python.manifest"
14
15/////////////////////////////////////////////////////////////////////////////
16//
17// Version
18//
19
20VS_VERSION_INFO VERSIONINFO
21 FILEVERSION PYVERSION64
22 PRODUCTVERSION PYVERSION64
23 FILEFLAGSMASK 0x3fL
24#ifdef _DEBUG
25 FILEFLAGS VS_FF_DEBUG
26#else
27 FILEFLAGS 0x0L
28#endif
29 FILEOS VOS__WINDOWS32
30 FILETYPE VFT_DLL
31 FILESUBTYPE 0x0L
32BEGIN
33    BLOCK "StringFileInfo"
34    BEGIN
35        BLOCK "000004b0"
36        BEGIN
37            VALUE "CompanyName", PYTHON_COMPANY "\0"
38            VALUE "FileDescription", "Python Core\0"
39            VALUE "FileVersion", PYTHON_VERSION
40            VALUE "InternalName", "Python DLL\0"
41            VALUE "LegalCopyright", PYTHON_COPYRIGHT "\0"
42            VALUE "OriginalFilename", ORIGINAL_FILENAME "\0"
43            VALUE "ProductName", "Python\0"
44            VALUE "ProductVersion", PYTHON_VERSION
45        END
46    END
47    BLOCK "VarFileInfo"
48    BEGIN
49        VALUE "Translation", 0x0, 1200
50    END
51END
52