This commit was manufactured by cvs2svn to create tag
[python/dscho.git] / PC / python_nt.rc
blobe90f4c7c814917090a765dbe76081df2f7f85900
1 // Resource script for Python core DLL.
2 // Currently only holds version information.
3 //
4 #include "ver.h"
5 #include "winver.h"
7 #define MS_WINDOWS
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.
15  */
16 #define MS_DLL_ID "2.2"
18 #ifndef PYTHON_DLL_NAME
19 #define PYTHON_DLL_NAME "python22.dll"
20 #endif
22 /* Nothing below this should need to be changed except for copyright
23  * notices and company name.
24  */
26 /* e.g., 2.1a2
27  * PY_VERSION comes from patchevel.h
28  */
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"
34 #endif
35 #if PY_RELEASE_LEVEL > 99
36 #   error "PY_RELEASE_LEVEL > 99"
37 #endif
38 #if PY_RELEASE_SERIAL > 9
39 #   error "PY_RELEASE_SERIAL > 9"
40 #endif
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
44 // String Tables
45 STRINGTABLE DISCARDABLE
46 BEGIN
47     1000,   MS_DLL_ID
48 END
50 /////////////////////////////////////////////////////////////////////////////
52 // Version
55 VS_VERSION_INFO VERSIONINFO
56  FILEVERSION PYVERSION64
57  PRODUCTVERSION PYVERSION64
58  FILEFLAGSMASK 0x3fL
59 #ifdef _DEBUG
60  FILEFLAGS 0x1L
61 #else
62  FILEFLAGS 0x0L
63 #endif
64  FILEOS 0x40004L
65  FILETYPE 0x1L
66  FILESUBTYPE 0x0L
67 BEGIN
68     BLOCK "StringFileInfo"
69     BEGIN
70         BLOCK "000004b0"
71         BEGIN
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
80         END
81     END
82     BLOCK "VarFileInfo"
83     BEGIN
84         VALUE "Translation", 0x0, 1200
85     END
86 END