Home | History | Annotate | Download | only in PC
      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>
      8 1 RT_MANIFEST "python.manifest"
      9 
     10 #if defined(PY_ICON)
     11 1 ICON DISCARDABLE "icons\python.ico"
     12 #elif defined(PYW_ICON)
     13 1 ICON DISCARDABLE "icons\pythonw.ico"
     14 #else
     15 1 ICON DISCARDABLE "icons\launcher.ico" 
     16 2 ICON DISCARDABLE "icons\py.ico" 
     17 3 ICON DISCARDABLE "icons\pyc.ico" 
     18 4 ICON DISCARDABLE "icons\pyd.ico" 
     19 5 ICON DISCARDABLE "icons\python.ico"
     20 6 ICON DISCARDABLE "icons\pythonw.ico"
     21 7 ICON DISCARDABLE "icons\setup.ico" 
     22 #endif
     23 
     24 /////////////////////////////////////////////////////////////////////////////
     25 //
     26 // Version
     27 //
     28 
     29 VS_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
     41 BEGIN
     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
     60 END