1 // Resource script for Python core DLL.
2 // Currently only holds version information.
8 #include "modsupport.h"
9 #include "patchlevel.h"
11 /* Across releases, change:
12 * MS_DLL_ID if the minor version number changes.
13 * PYTHON_DLL_NAME ditto.
14 * MS_DLL_ID must match PY_VERSION in the Windows install script.
16 #define MS_DLL_ID "2.2"
18 #ifndef PYTHON_DLL_NAME
19 #define PYTHON_DLL_NAME "python22.dll"
22 /* Nothing below this should need to be changed except for copyright
23 * notices and company name.
27 * PY_VERSION comes from patchevel.h
29 #define PYTHON_VERSION PY_VERSION "\0"
31 /* 64-bit version number as comma-separated list of 4 16-bit ints */
32 #if PY_MICRO_VERSION > 64
33 # error "PY_MICRO_VERSION > 64"
35 #if PY_RELEASE_LEVEL > 99
36 # error "PY_RELEASE_LEVEL > 99"
38 #if PY_RELEASE_SERIAL > 9
39 # error "PY_RELEASE_SERIAL > 9"
41 #define FIELD3 (PY_MICRO_VERSION*1000 + PY_RELEASE_LEVEL*10 + PY_RELEASE_SERIAL)
42 #define PYVERSION64 PY_MAJOR_VERSION, PY_MINOR_VERSION, FIELD3, PYTHON_API_VERSION
45 STRINGTABLE DISCARDABLE
50 /////////////////////////////////////////////////////////////////////////////
55 VS_VERSION_INFO VERSIONINFO
56 FILEVERSION PYVERSION64
57 PRODUCTVERSION PYVERSION64
68 BLOCK "StringFileInfo"
72 VALUE "CompanyName", "PythonLabs at Zope Corporation\0"
73 VALUE "FileDescription", "Python Core\0"
74 VALUE "FileVersion", PYTHON_VERSION
75 VALUE "InternalName", "Python DLL\0"
76 VALUE "LegalCopyright", "Copyright © 2001 Python Software Foundation. Copyright © 2000 BeOpen.com. Copyright © 1995-2001 CNRI. Copyright © 1991-1995 SMC.\0"
77 VALUE "OriginalFilename", PYTHON_DLL_NAME "\0"
78 VALUE "ProductName", "Python\0"
79 VALUE "ProductVersion", PYTHON_VERSION
84 VALUE "Translation", 0x0, 1200