blob: 85d7466136e5ec4fe628b4752bc8c3ae417653cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
** Create the 'vers' version resource from information in the
** Python include files.
*/
#include "Types.r"
#include "patchlevel.h"
/* Invent the Mac version from the Python version */
#if PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_ALPHA
#define V_RELEASE alpha
#endif
#if PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_BETA
#define V_RELEASE beta
#endif
#ifndef V_RELEASE
#define V_RELEASE final
#endif
resource 'vers' (1) {
PY_MAJOR_VERSION,
(PY_MINOR_VERSION<<4) | (PY_MICRO_VERSION),
V_RELEASE,
PY_RELEASE_SERIAL,
0,
PY_VERSION,
$$Format("%s, © Python Software Foundation %s",
PY_VERSION, $$Date)
};
|