1 // Resource script for Python core DLL.
2 // Currently only holds version information.
7 #include "modsupport.h"
8 #include "patchlevel.h"
10 # include "pythonnt_rc_d.h"
12 # include "pythonnt_rc.h"
16 * PY_VERSION comes from patchevel.h
18 #define PYTHON_VERSION PY_VERSION "\0"
20 /* 64-bit version number as comma-separated list of 4 16-bit ints */
21 #if PY_MICRO_VERSION > 64
22 # error "PY_MICRO_VERSION > 64"
24 #if PY_RELEASE_LEVEL > 99
25 # error "PY_RELEASE_LEVEL > 99"
27 #if PY_RELEASE_SERIAL > 9
28 # error "PY_RELEASE_SERIAL > 9"
30 #define PYVERSION64 PY_MAJOR_VERSION, PY_MINOR_VERSION, FIELD3, PYTHON_API_VERSION
33 STRINGTABLE DISCARDABLE
38 /////////////////////////////////////////////////////////////////////////////
43 VS_VERSION_INFO VERSIONINFO
44 FILEVERSION PYVERSION64
45 PRODUCTVERSION PYVERSION64
56 BLOCK "StringFileInfo"
60 VALUE "CompanyName", "Python Software Foundation\0"
61 VALUE "FileDescription", "Python Core\0"
62 VALUE "FileVersion", PYTHON_VERSION
63 VALUE "InternalName", "Python DLL\0"
64 VALUE "LegalCopyright", "Copyright © 2001-2007 Python Software Foundation. Copyright © 2000 BeOpen.com. Copyright © 1995-2001 CNRI. Copyright © 1991-1995 SMC.\0"
65 VALUE "OriginalFilename", PYTHON_DLL_NAME "\0"
66 VALUE "ProductName", "Python\0"
67 VALUE "ProductVersion", PYTHON_VERSION
72 VALUE "Translation", 0x0, 1200