Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 4ce90b3a994e3eef18e43ac5a1f6c9acd0b16b8c authored by cvs2svn on 30 May 2003, 20:57:36 UTC
This commit was manufactured by cvs2svn to create tag 'r223'.
Tip revision: 4ce90b3
version.r
/*
** 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)
};
back to top