1#include <windows.h> 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// Include the manifest file that indicates we support all 11// current versions of Windows. 121 RT_MANIFEST "python.manifest" 13 14#if defined(PY_ICON) 151 ICON DISCARDABLE "icons\python.ico" 16#elif defined(PYW_ICON) 171 ICON DISCARDABLE "icons\pythonw.ico" 18#else 191 ICON DISCARDABLE "icons\launcher.ico" 202 ICON DISCARDABLE "icons\py.ico" 213 ICON DISCARDABLE "icons\pyc.ico" 224 ICON DISCARDABLE "icons\pyd.ico" 235 ICON DISCARDABLE "icons\python.ico" 246 ICON DISCARDABLE "icons\pythonw.ico" 257 ICON DISCARDABLE "icons\setup.ico" 26#endif 27 28///////////////////////////////////////////////////////////////////////////// 29// 30// Version 31// 32 33VS_VERSION_INFO VERSIONINFO 34 FILEVERSION PYVERSION64 35 PRODUCTVERSION PYVERSION64 36 FILEFLAGSMASK 0x3fL 37#ifdef _DEBUG 38 FILEFLAGS VS_FF_DEBUG 39#else 40 FILEFLAGS 0x0L 41#endif 42 FILEOS VOS__WINDOWS32 43 FILETYPE VFT_APP 44 FILESUBTYPE 0x0L 45BEGIN 46 BLOCK "StringFileInfo" 47 BEGIN 48 BLOCK "000004b0" 49 BEGIN 50 VALUE "CompanyName", PYTHON_COMPANY "\0" 51 VALUE "FileDescription", "Python\0" 52 VALUE "FileVersion", PYTHON_VERSION 53 VALUE "InternalName", "Python Launcher\0" 54 VALUE "LegalCopyright", PYTHON_COPYRIGHT "\0" 55 VALUE "OriginalFilename", "py" PYTHON_DEBUG_EXT ".exe\0" 56 VALUE "ProductName", "Python\0" 57 VALUE "ProductVersion", PYTHON_VERSION 58 END 59 END 60 BLOCK "VarFileInfo" 61 BEGIN 62 VALUE "Translation", 0x0, 1200 63 END 64END