~malept/ubuntu/lucid/python2.6/dev-dependency-fix

« back to all changes in this revision

Viewing changes to PC/python_nt.rc

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-02-13 12:51:00 UTC
  • Revision ID: james.westby@ubuntu.com-20090213125100-uufgcb9yeqzujpqw
Tags: upstream-2.6.1
Import upstream version 2.6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Resource script for Python core DLL.
 
2
// Currently only holds version information.
 
3
//
 
4
#include "winver.h"
 
5
 
 
6
#define MS_WINDOWS
 
7
#include "modsupport.h"
 
8
#include "patchlevel.h"
 
9
#ifdef _DEBUG
 
10
#   include "pythonnt_rc_d.h"
 
11
#else
 
12
#   include "pythonnt_rc.h"
 
13
#endif
 
14
 
 
15
/* e.g., 2.1a2
 
16
 * PY_VERSION comes from patchevel.h
 
17
 */
 
18
#define PYTHON_VERSION PY_VERSION "\0"
 
19
 
 
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"
 
23
#endif
 
24
#if PY_RELEASE_LEVEL > 99
 
25
#   error "PY_RELEASE_LEVEL > 99"
 
26
#endif
 
27
#if PY_RELEASE_SERIAL > 9
 
28
#   error "PY_RELEASE_SERIAL > 9"
 
29
#endif
 
30
#define PYVERSION64 PY_MAJOR_VERSION, PY_MINOR_VERSION, FIELD3, PYTHON_API_VERSION
 
31
 
 
32
// String Tables
 
33
STRINGTABLE DISCARDABLE
 
34
BEGIN
 
35
    1000,   MS_DLL_ID
 
36
END
 
37
 
 
38
/////////////////////////////////////////////////////////////////////////////
 
39
//
 
40
// Version
 
41
//
 
42
 
 
43
VS_VERSION_INFO VERSIONINFO
 
44
 FILEVERSION PYVERSION64
 
45
 PRODUCTVERSION PYVERSION64
 
46
 FILEFLAGSMASK 0x3fL
 
47
#ifdef _DEBUG
 
48
 FILEFLAGS 0x1L
 
49
#else
 
50
 FILEFLAGS 0x0L
 
51
#endif
 
52
 FILEOS 0x40004L
 
53
 FILETYPE 0x1L
 
54
 FILESUBTYPE 0x0L
 
55
BEGIN
 
56
    BLOCK "StringFileInfo"
 
57
    BEGIN
 
58
        BLOCK "000004b0"
 
59
        BEGIN
 
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-2008 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
 
68
        END
 
69
    END
 
70
    BLOCK "VarFileInfo"
 
71
    BEGIN
 
72
        VALUE "Translation", 0x0, 1200
 
73
    END
 
74
END