Steve Dower | ab04064 | 2015-01-15 09:10:43 -0800 | [diff] [blame] | 1 | // 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" |
Steve Dower | d671213 | 2015-02-20 09:08:48 -0800 | [diff] [blame] | 7 | #define PYTHON_COPYRIGHT "Copyright \xA9 2001-2015 Python Software Foundation. Copyright \xA9 2000 BeOpen.com. Copyright \xA9 1995-2001 CNRI. Copyright \xA9 1991-1995 SMC." |
Steve Dower | ab04064 | 2015-01-15 09:10:43 -0800 | [diff] [blame] | 8 | |
| 9 | #define MS_WINDOWS |
| 10 | #include "modsupport.h" |
| 11 | #include "patchlevel.h" |
| 12 | #ifdef _DEBUG |
| 13 | # include "pythonnt_rc_d.h" |
| 14 | # define PYTHON_DEBUG_EXT "_d" |
| 15 | #else |
| 16 | # include "pythonnt_rc.h" |
| 17 | # define PYTHON_DEBUG_EXT |
| 18 | #endif |
| 19 | |
| 20 | /* e.g., 3.3.0a1 |
| 21 | * PY_VERSION comes from patchlevel.h |
| 22 | */ |
| 23 | #define PYTHON_VERSION PY_VERSION "\0" |
| 24 | |
| 25 | /* 64-bit version number as comma-separated list of 4 16-bit ints */ |
| 26 | #if PY_MICRO_VERSION > 64 |
| 27 | # error "PY_MICRO_VERSION > 64" |
| 28 | #endif |
| 29 | #if PY_RELEASE_LEVEL > 99 |
| 30 | # error "PY_RELEASE_LEVEL > 99" |
| 31 | #endif |
| 32 | #if PY_RELEASE_SERIAL > 9 |
| 33 | # error "PY_RELEASE_SERIAL > 9" |
| 34 | #endif |
| 35 | #define PYVERSION64 PY_MAJOR_VERSION, PY_MINOR_VERSION, FIELD3, PYTHON_API_VERSION |