Updated for 2.1b2 distribution.
[python/dscho.git] / Mac / Resources / version.r
blob4e52e6a63905e985acd1f60c707199fc404d9587
1 /*
2 ** Create the 'vers' version resource from information in the
3 ** Python include files.
4 */
6 #include "Types.r"
8 #include "patchlevel.h"
10 /* Invent the Mac version from the Python version */
11 #if PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_ALPHA
12 #define V_RELEASE alpha
13 #endif
14 #if PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_BETA
15 #define V_RELEASE beta
16 #endif
17 #ifndef V_RELEASE
18 #define V_RELEASE final
19 #endif
21 resource 'vers' (1) {
22 PY_MAJOR_VERSION,
23 (PY_MINOR_VERSION<<4) | (PY_MICRO_VERSION),
24 V_RELEASE,
25 PY_RELEASE_SERIAL,
27 PY_VERSION,
28 $$Format("%s, © Stichting Mathematisch Centrum %s",
29 PY_VERSION, $$Date)