1999-01-29 16:15:52 +00:00
|
|
|
|
/*
|
|
|
|
|
** 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,
|
2001-04-25 22:08:12 +00:00
|
|
|
|
$$Format("%s, <20> Python Software Foundation %s",
|
1999-01-29 16:15:52 +00:00
|
|
|
|
PY_VERSION, $$Date)
|
|
|
|
|
};
|