Martin v. Löwis | 56bf6f8 | 2012-06-21 16:27:58 +0200 | [diff] [blame] | 1 | #include <windows.h> |
| 2 | |
Steve Dower | 5f62112 | 2015-09-22 18:20:58 -0700 | [diff] [blame] | 3 | #include "python_ver_rc.h" |
Martin v. Löwis | 56bf6f8 | 2012-06-21 16:27:58 +0200 | [diff] [blame] | 4 | |
Steve Dower | 5f62112 | 2015-09-22 18:20:58 -0700 | [diff] [blame] | 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 | |
Steve Dower | 0cd6391 | 2018-12-10 18:52:57 -0800 | [diff] [blame] | 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 |
Steve Dower | c7d1cf4 | 2016-09-05 14:05:17 -0700 | [diff] [blame] | 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" |
Steve Dower | 0cd6391 | 2018-12-10 18:52:57 -0800 | [diff] [blame] | 22 | #endif |
Steve Dower | 5f62112 | 2015-09-22 18:20:58 -0700 | [diff] [blame] | 23 | |
| 24 | ///////////////////////////////////////////////////////////////////////////// |
| 25 | // |
| 26 | // Version |
| 27 | // |
Martin v. Löwis | 56bf6f8 | 2012-06-21 16:27:58 +0200 | [diff] [blame] | 28 | |
| 29 | VS_VERSION_INFO VERSIONINFO |
| 30 | FILEVERSION PYVERSION64 |
| 31 | PRODUCTVERSION PYVERSION64 |
Steve Dower | 5f62112 | 2015-09-22 18:20:58 -0700 | [diff] [blame] | 32 | FILEFLAGSMASK 0x3fL |
Martin v. Löwis | 56bf6f8 | 2012-06-21 16:27:58 +0200 | [diff] [blame] | 33 | #ifdef _DEBUG |
Steve Dower | 5f62112 | 2015-09-22 18:20:58 -0700 | [diff] [blame] | 34 | FILEFLAGS VS_FF_DEBUG |
Martin v. Löwis | 56bf6f8 | 2012-06-21 16:27:58 +0200 | [diff] [blame] | 35 | #else |
| 36 | FILEFLAGS 0x0L |
| 37 | #endif |
Steve Dower | 5f62112 | 2015-09-22 18:20:58 -0700 | [diff] [blame] | 38 | FILEOS VOS__WINDOWS32 |
| 39 | FILETYPE VFT_APP |
Martin v. Löwis | 56bf6f8 | 2012-06-21 16:27:58 +0200 | [diff] [blame] | 40 | FILESUBTYPE 0x0L |
| 41 | BEGIN |
| 42 | BLOCK "StringFileInfo" |
| 43 | BEGIN |
Steve Dower | 5f62112 | 2015-09-22 18:20:58 -0700 | [diff] [blame] | 44 | BLOCK "000004b0" |
Martin v. Löwis | 56bf6f8 | 2012-06-21 16:27:58 +0200 | [diff] [blame] | 45 | BEGIN |
Steve Dower | 5f62112 | 2015-09-22 18:20:58 -0700 | [diff] [blame] | 46 | VALUE "CompanyName", PYTHON_COMPANY "\0" |
| 47 | VALUE "FileDescription", "Python\0" |
Martin v. Löwis | 56bf6f8 | 2012-06-21 16:27:58 +0200 | [diff] [blame] | 48 | VALUE "FileVersion", PYTHON_VERSION |
Steve Dower | 5f62112 | 2015-09-22 18:20:58 -0700 | [diff] [blame] | 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" |
Martin v. Löwis | 56bf6f8 | 2012-06-21 16:27:58 +0200 | [diff] [blame] | 53 | VALUE "ProductVersion", PYTHON_VERSION |
| 54 | END |
| 55 | END |
| 56 | BLOCK "VarFileInfo" |
| 57 | BEGIN |
Steve Dower | 5f62112 | 2015-09-22 18:20:58 -0700 | [diff] [blame] | 58 | VALUE "Translation", 0x0, 1200 |
Martin v. Löwis | 56bf6f8 | 2012-06-21 16:27:58 +0200 | [diff] [blame] | 59 | END |
Steve Dower | 5f62112 | 2015-09-22 18:20:58 -0700 | [diff] [blame] | 60 | END |