2015-01-15 17:10:43 +00:00
|
|
|
// Resource script for Python core DLL.
|
|
|
|
// Currently only holds version information.
|
|
|
|
//
|
2020-06-24 16:47:44 +00:00
|
|
|
#pragma code_page(1252)
|
2015-01-15 17:10:43 +00:00
|
|
|
#include "winver.h"
|
|
|
|
|
|
|
|
#define PYTHON_COMPANY "Python Software Foundation"
|
2016-01-01 16:25:12 +00:00
|
|
|
#define PYTHON_COPYRIGHT "Copyright \xA9 2001-2016 Python Software Foundation. Copyright \xA9 2000 BeOpen.com. Copyright \xA9 1995-2001 CNRI. Copyright \xA9 1991-1995 SMC."
|
2015-01-15 17:10:43 +00:00
|
|
|
|
|
|
|
#define MS_WINDOWS
|
|
|
|
#include "modsupport.h"
|
|
|
|
#include "patchlevel.h"
|
|
|
|
#ifdef _DEBUG
|
|
|
|
# define PYTHON_DEBUG_EXT "_d"
|
|
|
|
#else
|
|
|
|
# define PYTHON_DEBUG_EXT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* e.g., 3.3.0a1
|
|
|
|
* PY_VERSION comes from patchlevel.h
|
|
|
|
*/
|
|
|
|
#define PYTHON_VERSION PY_VERSION "\0"
|
|
|
|
|
|
|
|
/* 64-bit version number as comma-separated list of 4 16-bit ints */
|
|
|
|
#if PY_MICRO_VERSION > 64
|
|
|
|
# error "PY_MICRO_VERSION > 64"
|
|
|
|
#endif
|
|
|
|
#if PY_RELEASE_LEVEL > 99
|
|
|
|
# error "PY_RELEASE_LEVEL > 99"
|
|
|
|
#endif
|
|
|
|
#if PY_RELEASE_SERIAL > 9
|
|
|
|
# error "PY_RELEASE_SERIAL > 9"
|
|
|
|
#endif
|
|
|
|
#define PYVERSION64 PY_MAJOR_VERSION, PY_MINOR_VERSION, FIELD3, PYTHON_API_VERSION
|