blob: c318d4487ea1b858bbf757970146b25b44baaba2 [file] [log] [blame]
Steve Dowerab040642015-01-15 09:10:43 -08001// Resource script for Python core DLL.
2// Currently only holds version information.
3//
4#include "winver.h"
5
6#define PYTHON_COMPANY "Python Software Foundation"
Benjamin Peterson4c702932016-01-01 10:25:12 -06007#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."
Steve Dowerab040642015-01-15 09:10:43 -08008
9#define MS_WINDOWS
10#include "modsupport.h"
11#include "patchlevel.h"
12#ifdef _DEBUG
Steve Dowerab040642015-01-15 09:10:43 -080013# define PYTHON_DEBUG_EXT "_d"
14#else
Steve Dowerab040642015-01-15 09:10:43 -080015# define PYTHON_DEBUG_EXT
16#endif
17
18/* e.g., 3.3.0a1
19 * PY_VERSION comes from patchlevel.h
20 */
21#define PYTHON_VERSION PY_VERSION "\0"
22
23/* 64-bit version number as comma-separated list of 4 16-bit ints */
24#if PY_MICRO_VERSION > 64
25# error "PY_MICRO_VERSION > 64"
26#endif
27#if PY_RELEASE_LEVEL > 99
28# error "PY_RELEASE_LEVEL > 99"
29#endif
30#if PY_RELEASE_SERIAL > 9
31# error "PY_RELEASE_SERIAL > 9"
32#endif
33#define PYVERSION64 PY_MAJOR_VERSION, PY_MINOR_VERSION, FIELD3, PYTHON_API_VERSION