From 9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 Mon Sep 17 00:00:00 2001 From: maxim-yurchuk Date: Wed, 9 Oct 2024 12:29:46 +0300 Subject: publishFullContrib: true for ydb commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e --- contrib/tools/python3/PC/python_ver_rc.h | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 contrib/tools/python3/PC/python_ver_rc.h (limited to 'contrib/tools/python3/PC/python_ver_rc.h') diff --git a/contrib/tools/python3/PC/python_ver_rc.h b/contrib/tools/python3/PC/python_ver_rc.h new file mode 100644 index 00000000000..5b55b810cd2 --- /dev/null +++ b/contrib/tools/python3/PC/python_ver_rc.h @@ -0,0 +1,34 @@ +// Resource script for Python core DLL. +// Currently only holds version information. +// +#pragma code_page(1252) +#include "winver.h" + +#define PYTHON_COMPANY "Python Software Foundation" +#define PYTHON_COPYRIGHT "Copyright \xA9 2001-2023 Python Software Foundation. Copyright \xA9 2000 BeOpen.com. Copyright \xA9 1995-2001 CNRI. Copyright \xA9 1991-1995 SMC." + +#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 -- cgit v1.3