diff options
author | monster <monster@ydb.tech> | 2022-07-07 14:41:37 +0300 |
---|---|---|
committer | monster <monster@ydb.tech> | 2022-07-07 14:41:37 +0300 |
commit | 06e5c21a835c0e923506c4ff27929f34e00761c2 (patch) | |
tree | 75efcbc6854ef9bd476eb8bf00cc5c900da436a2 /contrib/libs/python | |
parent | 03f024c4412e3aa613bb543cf1660176320ba8f4 (diff) | |
download | ydb-06e5c21a835c0e923506c4ff27929f34e00761c2.tar.gz |
fix ya.make
Diffstat (limited to 'contrib/libs/python')
120 files changed, 0 insertions, 921 deletions
diff --git a/contrib/libs/python/.yandex_meta/devtools.copyrights.report b/contrib/libs/python/.yandex_meta/devtools.copyrights.report deleted file mode 100644 index 8b13789179..0000000000 --- a/contrib/libs/python/.yandex_meta/devtools.copyrights.report +++ /dev/null @@ -1 +0,0 @@ - diff --git a/contrib/libs/python/.yandex_meta/devtools.licenses.custom.spdx.txt b/contrib/libs/python/.yandex_meta/devtools.licenses.custom.spdx.txt deleted file mode 100644 index 279a5f0748..0000000000 --- a/contrib/libs/python/.yandex_meta/devtools.licenses.custom.spdx.txt +++ /dev/null @@ -1 +0,0 @@ -YandexOpen diff --git a/contrib/libs/python/.yandex_meta/devtools.licenses.report b/contrib/libs/python/.yandex_meta/devtools.licenses.report deleted file mode 100644 index cb930522cc..0000000000 --- a/contrib/libs/python/.yandex_meta/devtools.licenses.report +++ /dev/null @@ -1,30 +0,0 @@ -# File format ($ symbol means the beginning of a line): -# -# $ # this message -# $ # ======================= -# $ # comments (all commentaries should starts with some number of spaces and # symbol) -# ${action} {license spdx} {license text hash} -# $BELONGS ./ya/make/file/relative/path/1/ya.make ./ya/make/2/ya.make -# ${all_file_action} filename -# $ # user commentaries (many lines) -# $ generated description - files with this license, license text... (some number of lines that starts with some number of spaces, do not modify) -# ${action} {license spdx} {license text hash} -# $BELONGS ./ya/make/file/relative/path/3/ya.make -# ${all_file_action} filename -# $ # user commentaries -# $ generated description -# $ ... -# -# You can modify action, all_file_action and add commentaries -# Available actions: -# keep - keep license in contrib and use in credits -# skip - skip license -# remove - remove all files with this license -# rename - save license text/links into licenses texts file, but not store SPDX into LINCENSE macro. You should store correct license id into devtools.license.spdx.txt file -# -# {all file action} records will be generated when license text contains filename that exists on filesystem (in contrib directory) -# We suppose that that files can contain some license info -# Available all file actions: -# FILE_IGNORE - ignore file (do nothing) -# FILE_INCLUDE - include all file data into licenses text file -# ======================= diff --git a/contrib/libs/python/.yandex_meta/licenses.list.txt b/contrib/libs/python/.yandex_meta/licenses.list.txt deleted file mode 100644 index e69de29bb2..0000000000 --- a/contrib/libs/python/.yandex_meta/licenses.list.txt +++ /dev/null diff --git a/contrib/libs/python/Include/Python-ast.h b/contrib/libs/python/Include/Python-ast.h deleted file mode 100644 index 488b102d43..0000000000 --- a/contrib/libs/python/Include/Python-ast.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <Python-ast.h> in Python3" -#else -#include <contrib/tools/python/src/Include/Python-ast.h> -#endif diff --git a/contrib/libs/python/Include/accu.h b/contrib/libs/python/Include/accu.h deleted file mode 100644 index acd0f68a6a..0000000000 --- a/contrib/libs/python/Include/accu.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/accu.h> -#else -#error "No <accu.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/asdl.h b/contrib/libs/python/Include/asdl.h deleted file mode 100644 index 445c6f4429..0000000000 --- a/contrib/libs/python/Include/asdl.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <asdl.h> in Python3" -#else -#include <contrib/tools/python/src/Include/asdl.h> -#endif diff --git a/contrib/libs/python/Include/ast.h b/contrib/libs/python/Include/ast.h deleted file mode 100644 index b093182661..0000000000 --- a/contrib/libs/python/Include/ast.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <ast.h> in Python3" -#else -#include <contrib/tools/python/src/Include/ast.h> -#endif diff --git a/contrib/libs/python/Include/bitset.h b/contrib/libs/python/Include/bitset.h deleted file mode 100644 index 35c9fbd35d..0000000000 --- a/contrib/libs/python/Include/bitset.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <bitset.h> in Python3" -#else -#include <contrib/tools/python/src/Include/bitset.h> -#endif diff --git a/contrib/libs/python/Include/bltinmodule.h b/contrib/libs/python/Include/bltinmodule.h deleted file mode 100644 index 0cd2a7ac76..0000000000 --- a/contrib/libs/python/Include/bltinmodule.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/bltinmodule.h> -#else -#error "No <bltinmodule.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/boolobject.h b/contrib/libs/python/Include/boolobject.h deleted file mode 100644 index 9ab8bbe43c..0000000000 --- a/contrib/libs/python/Include/boolobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/boolobject.h> -#else -#include <contrib/tools/python/src/Include/boolobject.h> -#endif diff --git a/contrib/libs/python/Include/bytearrayobject.h b/contrib/libs/python/Include/bytearrayobject.h deleted file mode 100644 index 0e69010be7..0000000000 --- a/contrib/libs/python/Include/bytearrayobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/bytearrayobject.h> -#else -#include <contrib/tools/python/src/Include/bytearrayobject.h> -#endif diff --git a/contrib/libs/python/Include/bytes_methods.h b/contrib/libs/python/Include/bytes_methods.h deleted file mode 100644 index f74e146029..0000000000 --- a/contrib/libs/python/Include/bytes_methods.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <bytes_methods.h> in Python3" -#else -#include <contrib/tools/python/src/Include/bytes_methods.h> -#endif diff --git a/contrib/libs/python/Include/bytesobject.h b/contrib/libs/python/Include/bytesobject.h deleted file mode 100644 index ca972c3df2..0000000000 --- a/contrib/libs/python/Include/bytesobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/bytesobject.h> -#else -#include <contrib/tools/python/src/Include/bytesobject.h> -#endif diff --git a/contrib/libs/python/Include/cStringIO.h b/contrib/libs/python/Include/cStringIO.h deleted file mode 100644 index 3a8a908d56..0000000000 --- a/contrib/libs/python/Include/cStringIO.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <cStringIO.h> in Python3" -#else -#include <contrib/tools/python/src/Include/cStringIO.h> -#endif diff --git a/contrib/libs/python/Include/code.h b/contrib/libs/python/Include/code.h deleted file mode 100644 index e21d9c3ce3..0000000000 --- a/contrib/libs/python/Include/code.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/code.h> -#else -#include <contrib/tools/python/src/Include/code.h> -#endif diff --git a/contrib/libs/python/Include/config_platform.h b/contrib/libs/python/Include/config_platform.h deleted file mode 100644 index afd9bf5123..0000000000 --- a/contrib/libs/python/Include/config_platform.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <config_platform.h> in Python3" -#else -#include <contrib/tools/python/src/Include/config_platform.h> -#endif diff --git a/contrib/libs/python/Include/context.h b/contrib/libs/python/Include/context.h deleted file mode 100644 index 61ed2c0dd1..0000000000 --- a/contrib/libs/python/Include/context.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/context.h> -#else -#error "No <context.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/abstract.h b/contrib/libs/python/Include/cpython/abstract.h deleted file mode 100644 index 06fa02d641..0000000000 --- a/contrib/libs/python/Include/cpython/abstract.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/abstract.h> -#else -#error "No <cpython/abstract.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/bytearrayobject.h b/contrib/libs/python/Include/cpython/bytearrayobject.h deleted file mode 100644 index 5ed47993c2..0000000000 --- a/contrib/libs/python/Include/cpython/bytearrayobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/bytearrayobject.h> -#else -#error "No <cpython/bytearrayobject.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/bytesobject.h b/contrib/libs/python/Include/cpython/bytesobject.h deleted file mode 100644 index d960c6a903..0000000000 --- a/contrib/libs/python/Include/cpython/bytesobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/bytesobject.h> -#else -#error "No <cpython/bytesobject.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/ceval.h b/contrib/libs/python/Include/cpython/ceval.h deleted file mode 100644 index dcefa8e58b..0000000000 --- a/contrib/libs/python/Include/cpython/ceval.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/ceval.h> -#else -#error "No <cpython/ceval.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/code.h b/contrib/libs/python/Include/cpython/code.h deleted file mode 100644 index b652426858..0000000000 --- a/contrib/libs/python/Include/cpython/code.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/code.h> -#else -#error "No <cpython/code.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/compile.h b/contrib/libs/python/Include/cpython/compile.h deleted file mode 100644 index 0d370cd34c..0000000000 --- a/contrib/libs/python/Include/cpython/compile.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/compile.h> -#else -#error "No <cpython/compile.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/dictobject.h b/contrib/libs/python/Include/cpython/dictobject.h deleted file mode 100644 index e5a4c02e71..0000000000 --- a/contrib/libs/python/Include/cpython/dictobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/dictobject.h> -#else -#error "No <cpython/dictobject.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/fileobject.h b/contrib/libs/python/Include/cpython/fileobject.h deleted file mode 100644 index de9bc96c48..0000000000 --- a/contrib/libs/python/Include/cpython/fileobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/fileobject.h> -#else -#error "No <cpython/fileobject.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/fileutils.h b/contrib/libs/python/Include/cpython/fileutils.h deleted file mode 100644 index 38d4c523e5..0000000000 --- a/contrib/libs/python/Include/cpython/fileutils.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/fileutils.h> -#else -#error "No <cpython/fileutils.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/frameobject.h b/contrib/libs/python/Include/cpython/frameobject.h deleted file mode 100644 index b681d4b1c9..0000000000 --- a/contrib/libs/python/Include/cpython/frameobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/frameobject.h> -#else -#error "No <cpython/frameobject.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/import.h b/contrib/libs/python/Include/cpython/import.h deleted file mode 100644 index 149b0f716e..0000000000 --- a/contrib/libs/python/Include/cpython/import.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/import.h> -#else -#error "No <cpython/import.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/initconfig.h b/contrib/libs/python/Include/cpython/initconfig.h deleted file mode 100644 index a00b133147..0000000000 --- a/contrib/libs/python/Include/cpython/initconfig.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/initconfig.h> -#else -#error "No <cpython/initconfig.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/interpreteridobject.h b/contrib/libs/python/Include/cpython/interpreteridobject.h deleted file mode 100644 index 110dfc0899..0000000000 --- a/contrib/libs/python/Include/cpython/interpreteridobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/interpreteridobject.h> -#else -#error "No <cpython/interpreteridobject.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/listobject.h b/contrib/libs/python/Include/cpython/listobject.h deleted file mode 100644 index f5edc4f307..0000000000 --- a/contrib/libs/python/Include/cpython/listobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/listobject.h> -#else -#error "No <cpython/listobject.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/methodobject.h b/contrib/libs/python/Include/cpython/methodobject.h deleted file mode 100644 index fbaba4bdc7..0000000000 --- a/contrib/libs/python/Include/cpython/methodobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/methodobject.h> -#else -#error "No <cpython/methodobject.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/object.h b/contrib/libs/python/Include/cpython/object.h deleted file mode 100644 index 91204cfce4..0000000000 --- a/contrib/libs/python/Include/cpython/object.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/object.h> -#else -#error "No <cpython/object.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/objimpl.h b/contrib/libs/python/Include/cpython/objimpl.h deleted file mode 100644 index a787c6f70e..0000000000 --- a/contrib/libs/python/Include/cpython/objimpl.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/objimpl.h> -#else -#error "No <cpython/objimpl.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/odictobject.h b/contrib/libs/python/Include/cpython/odictobject.h deleted file mode 100644 index c771a6356d..0000000000 --- a/contrib/libs/python/Include/cpython/odictobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/odictobject.h> -#else -#error "No <cpython/odictobject.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/picklebufobject.h b/contrib/libs/python/Include/cpython/picklebufobject.h deleted file mode 100644 index d457ccd624..0000000000 --- a/contrib/libs/python/Include/cpython/picklebufobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/picklebufobject.h> -#else -#error "No <cpython/picklebufobject.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/pyctype.h b/contrib/libs/python/Include/cpython/pyctype.h deleted file mode 100644 index 3421de4640..0000000000 --- a/contrib/libs/python/Include/cpython/pyctype.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/pyctype.h> -#else -#error "No <cpython/pyctype.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/pydebug.h b/contrib/libs/python/Include/cpython/pydebug.h deleted file mode 100644 index 3bae670eba..0000000000 --- a/contrib/libs/python/Include/cpython/pydebug.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/pydebug.h> -#else -#error "No <cpython/pydebug.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/pyerrors.h b/contrib/libs/python/Include/cpython/pyerrors.h deleted file mode 100644 index 6064161ac1..0000000000 --- a/contrib/libs/python/Include/cpython/pyerrors.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/pyerrors.h> -#else -#error "No <cpython/pyerrors.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/pyfpe.h b/contrib/libs/python/Include/cpython/pyfpe.h deleted file mode 100644 index 2a38891fb0..0000000000 --- a/contrib/libs/python/Include/cpython/pyfpe.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/pyfpe.h> -#else -#error "No <cpython/pyfpe.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/pylifecycle.h b/contrib/libs/python/Include/cpython/pylifecycle.h deleted file mode 100644 index 099f148ef2..0000000000 --- a/contrib/libs/python/Include/cpython/pylifecycle.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/pylifecycle.h> -#else -#error "No <cpython/pylifecycle.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/pymem.h b/contrib/libs/python/Include/cpython/pymem.h deleted file mode 100644 index e3256925b6..0000000000 --- a/contrib/libs/python/Include/cpython/pymem.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/pymem.h> -#else -#error "No <cpython/pymem.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/pystate.h b/contrib/libs/python/Include/cpython/pystate.h deleted file mode 100644 index c8e5cbc23b..0000000000 --- a/contrib/libs/python/Include/cpython/pystate.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/pystate.h> -#else -#error "No <cpython/pystate.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/pythonrun.h b/contrib/libs/python/Include/cpython/pythonrun.h deleted file mode 100644 index cfc5384957..0000000000 --- a/contrib/libs/python/Include/cpython/pythonrun.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/pythonrun.h> -#else -#error "No <cpython/pythonrun.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/pytime.h b/contrib/libs/python/Include/cpython/pytime.h deleted file mode 100644 index 9cc64908d4..0000000000 --- a/contrib/libs/python/Include/cpython/pytime.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/pytime.h> -#else -#error "No <cpython/pytime.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/sysmodule.h b/contrib/libs/python/Include/cpython/sysmodule.h deleted file mode 100644 index 3e827d58a5..0000000000 --- a/contrib/libs/python/Include/cpython/sysmodule.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/sysmodule.h> -#else -#error "No <cpython/sysmodule.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/traceback.h b/contrib/libs/python/Include/cpython/traceback.h deleted file mode 100644 index 9b9e2dc9a5..0000000000 --- a/contrib/libs/python/Include/cpython/traceback.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/traceback.h> -#else -#error "No <cpython/traceback.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/tupleobject.h b/contrib/libs/python/Include/cpython/tupleobject.h deleted file mode 100644 index 7bc25aaee2..0000000000 --- a/contrib/libs/python/Include/cpython/tupleobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/tupleobject.h> -#else -#error "No <cpython/tupleobject.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/cpython/unicodeobject.h b/contrib/libs/python/Include/cpython/unicodeobject.h deleted file mode 100644 index 260680d0ea..0000000000 --- a/contrib/libs/python/Include/cpython/unicodeobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/cpython/unicodeobject.h> -#else -#error "No <cpython/unicodeobject.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/datetime.h b/contrib/libs/python/Include/datetime.h deleted file mode 100644 index b24acd5638..0000000000 --- a/contrib/libs/python/Include/datetime.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/datetime.h> -#else -#include <contrib/tools/python/src/Include/datetime.h> -#endif diff --git a/contrib/libs/python/Include/dtoa.h b/contrib/libs/python/Include/dtoa.h deleted file mode 100644 index d8c51a71f4..0000000000 --- a/contrib/libs/python/Include/dtoa.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <dtoa.h> in Python3" -#else -#include <contrib/tools/python/src/Include/dtoa.h> -#endif diff --git a/contrib/libs/python/Include/dynamic_annotations.h b/contrib/libs/python/Include/dynamic_annotations.h deleted file mode 100644 index 0ffe86e787..0000000000 --- a/contrib/libs/python/Include/dynamic_annotations.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/dynamic_annotations.h> -#else -#error "No <dynamic_annotations.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/enumobject.h b/contrib/libs/python/Include/enumobject.h deleted file mode 100644 index 08d7a42ee4..0000000000 --- a/contrib/libs/python/Include/enumobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/enumobject.h> -#else -#include <contrib/tools/python/src/Include/enumobject.h> -#endif diff --git a/contrib/libs/python/Include/errcode.h b/contrib/libs/python/Include/errcode.h deleted file mode 100644 index 69259ee2f5..0000000000 --- a/contrib/libs/python/Include/errcode.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/errcode.h> -#else -#include <contrib/tools/python/src/Include/errcode.h> -#endif diff --git a/contrib/libs/python/Include/eval.h b/contrib/libs/python/Include/eval.h deleted file mode 100644 index cc8c657b1e..0000000000 --- a/contrib/libs/python/Include/eval.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/eval.h> -#else -#include <contrib/tools/python/src/Include/eval.h> -#endif diff --git a/contrib/libs/python/Include/exports.h b/contrib/libs/python/Include/exports.h deleted file mode 100644 index fdc68cfcf1..0000000000 --- a/contrib/libs/python/Include/exports.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/exports.h> -#else -#error "No <exports.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/fileutils.h b/contrib/libs/python/Include/fileutils.h deleted file mode 100644 index 86ca07a109..0000000000 --- a/contrib/libs/python/Include/fileutils.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/fileutils.h> -#else -#error "No <fileutils.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/genericaliasobject.h b/contrib/libs/python/Include/genericaliasobject.h deleted file mode 100644 index 4d218b7e3f..0000000000 --- a/contrib/libs/python/Include/genericaliasobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/genericaliasobject.h> -#else -#error "No <genericaliasobject.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/genobject.h b/contrib/libs/python/Include/genobject.h deleted file mode 100644 index 78ce06ddc0..0000000000 --- a/contrib/libs/python/Include/genobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/genobject.h> -#else -#include <contrib/tools/python/src/Include/genobject.h> -#endif diff --git a/contrib/libs/python/Include/graminit.h b/contrib/libs/python/Include/graminit.h deleted file mode 100644 index 3b23525aba..0000000000 --- a/contrib/libs/python/Include/graminit.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <graminit.h> in Python3" -#else -#include <contrib/tools/python/src/Include/graminit.h> -#endif diff --git a/contrib/libs/python/Include/grammar.h b/contrib/libs/python/Include/grammar.h deleted file mode 100644 index 947710d0bc..0000000000 --- a/contrib/libs/python/Include/grammar.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <grammar.h> in Python3" -#else -#include <contrib/tools/python/src/Include/grammar.h> -#endif diff --git a/contrib/libs/python/Include/interpreteridobject.h b/contrib/libs/python/Include/interpreteridobject.h deleted file mode 100644 index 1cd695d50f..0000000000 --- a/contrib/libs/python/Include/interpreteridobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/interpreteridobject.h> -#else -#error "No <interpreteridobject.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/marshal.h b/contrib/libs/python/Include/marshal.h deleted file mode 100644 index 536238ca04..0000000000 --- a/contrib/libs/python/Include/marshal.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/marshal.h> -#else -#include <contrib/tools/python/src/Include/marshal.h> -#endif diff --git a/contrib/libs/python/Include/memoryobject.h b/contrib/libs/python/Include/memoryobject.h deleted file mode 100644 index c9941a3962..0000000000 --- a/contrib/libs/python/Include/memoryobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/memoryobject.h> -#else -#include <contrib/tools/python/src/Include/memoryobject.h> -#endif diff --git a/contrib/libs/python/Include/metagrammar.h b/contrib/libs/python/Include/metagrammar.h deleted file mode 100644 index ab897e3820..0000000000 --- a/contrib/libs/python/Include/metagrammar.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <metagrammar.h> in Python3" -#else -#include <contrib/tools/python/src/Include/metagrammar.h> -#endif diff --git a/contrib/libs/python/Include/namespaceobject.h b/contrib/libs/python/Include/namespaceobject.h deleted file mode 100644 index 5f4c77c8a4..0000000000 --- a/contrib/libs/python/Include/namespaceobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/namespaceobject.h> -#else -#error "No <namespaceobject.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/node.h b/contrib/libs/python/Include/node.h deleted file mode 100644 index 55918431b5..0000000000 --- a/contrib/libs/python/Include/node.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <node.h> in Python3" -#else -#include <contrib/tools/python/src/Include/node.h> -#endif diff --git a/contrib/libs/python/Include/odictobject.h b/contrib/libs/python/Include/odictobject.h deleted file mode 100644 index a3e7994c12..0000000000 --- a/contrib/libs/python/Include/odictobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/odictobject.h> -#else -#error "No <odictobject.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/opcode.h b/contrib/libs/python/Include/opcode.h deleted file mode 100644 index add566d1ce..0000000000 --- a/contrib/libs/python/Include/opcode.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/opcode.h> -#else -#include <contrib/tools/python/src/Include/opcode.h> -#endif diff --git a/contrib/libs/python/Include/osdefs.h b/contrib/libs/python/Include/osdefs.h deleted file mode 100644 index 030e1cb429..0000000000 --- a/contrib/libs/python/Include/osdefs.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/osdefs.h> -#else -#include <contrib/tools/python/src/Include/osdefs.h> -#endif diff --git a/contrib/libs/python/Include/osmodule.h b/contrib/libs/python/Include/osmodule.h deleted file mode 100644 index 0851f3d7f7..0000000000 --- a/contrib/libs/python/Include/osmodule.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/osmodule.h> -#else -#error "No <osmodule.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/parsetok.h b/contrib/libs/python/Include/parsetok.h deleted file mode 100644 index 2fbb0c3928..0000000000 --- a/contrib/libs/python/Include/parsetok.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <parsetok.h> in Python3" -#else -#include <contrib/tools/python/src/Include/parsetok.h> -#endif diff --git a/contrib/libs/python/Include/pgen.h b/contrib/libs/python/Include/pgen.h deleted file mode 100644 index b4a3a7dc8d..0000000000 --- a/contrib/libs/python/Include/pgen.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <pgen.h> in Python3" -#else -#include <contrib/tools/python/src/Include/pgen.h> -#endif diff --git a/contrib/libs/python/Include/pgenheaders.h b/contrib/libs/python/Include/pgenheaders.h deleted file mode 100644 index 1f859aebad..0000000000 --- a/contrib/libs/python/Include/pgenheaders.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <pgenheaders.h> in Python3" -#else -#include <contrib/tools/python/src/Include/pgenheaders.h> -#endif diff --git a/contrib/libs/python/Include/picklebufobject.h b/contrib/libs/python/Include/picklebufobject.h deleted file mode 100644 index 70eba96ded..0000000000 --- a/contrib/libs/python/Include/picklebufobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/picklebufobject.h> -#else -#error "No <picklebufobject.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/py_curses.h b/contrib/libs/python/Include/py_curses.h deleted file mode 100644 index 1cea7240fa..0000000000 --- a/contrib/libs/python/Include/py_curses.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/py_curses.h> -#else -#include <contrib/tools/python/src/Include/py_curses.h> -#endif diff --git a/contrib/libs/python/Include/pyarena.h b/contrib/libs/python/Include/pyarena.h deleted file mode 100644 index 6466c2f269..0000000000 --- a/contrib/libs/python/Include/pyarena.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <pyarena.h> in Python3" -#else -#include <contrib/tools/python/src/Include/pyarena.h> -#endif diff --git a/contrib/libs/python/Include/pyatomic.h b/contrib/libs/python/Include/pyatomic.h deleted file mode 100644 index 36ea5383e2..0000000000 --- a/contrib/libs/python/Include/pyatomic.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pyatomic.h> -#else -#error "No <pyatomic.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/pycapsule.h b/contrib/libs/python/Include/pycapsule.h deleted file mode 100644 index 7f303ed361..0000000000 --- a/contrib/libs/python/Include/pycapsule.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pycapsule.h> -#else -#include <contrib/tools/python/src/Include/pycapsule.h> -#endif diff --git a/contrib/libs/python/Include/pyconfig-linux.h b/contrib/libs/python/Include/pyconfig-linux.h deleted file mode 100644 index de1803b710..0000000000 --- a/contrib/libs/python/Include/pyconfig-linux.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pyconfig-linux.h> -#else -#error "No <pyconfig-linux.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/pyconfig-musl.h b/contrib/libs/python/Include/pyconfig-musl.h deleted file mode 100644 index 66e1339bac..0000000000 --- a/contrib/libs/python/Include/pyconfig-musl.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pyconfig-musl.h> -#else -#error "No <pyconfig-musl.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/pyconfig-osx.h b/contrib/libs/python/Include/pyconfig-osx.h deleted file mode 100644 index 8ee6b6de2b..0000000000 --- a/contrib/libs/python/Include/pyconfig-osx.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pyconfig-osx.h> -#else -#error "No <pyconfig-osx.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/pyconfig.cygwin.h b/contrib/libs/python/Include/pyconfig.cygwin.h deleted file mode 100644 index 930901d89b..0000000000 --- a/contrib/libs/python/Include/pyconfig.cygwin.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <pyconfig.cygwin.h> in Python3" -#else -#include <contrib/tools/python/src/Include/pyconfig.cygwin.h> -#endif diff --git a/contrib/libs/python/Include/pyconfig.darwin.h b/contrib/libs/python/Include/pyconfig.darwin.h deleted file mode 100644 index eeb58178bf..0000000000 --- a/contrib/libs/python/Include/pyconfig.darwin.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <pyconfig.darwin.h> in Python3" -#else -#include <contrib/tools/python/src/Include/pyconfig.darwin.h> -#endif diff --git a/contrib/libs/python/Include/pyconfig.freebsd.h b/contrib/libs/python/Include/pyconfig.freebsd.h deleted file mode 100644 index e6d5961435..0000000000 --- a/contrib/libs/python/Include/pyconfig.freebsd.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <pyconfig.freebsd.h> in Python3" -#else -#include <contrib/tools/python/src/Include/pyconfig.freebsd.h> -#endif diff --git a/contrib/libs/python/Include/pyconfig.ios.arm64.h b/contrib/libs/python/Include/pyconfig.ios.arm64.h deleted file mode 100644 index 0dac2ee7ac..0000000000 --- a/contrib/libs/python/Include/pyconfig.ios.arm64.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <pyconfig.ios.arm64.h> in Python3" -#else -#include <contrib/tools/python/src/Include/pyconfig.ios.arm64.h> -#endif diff --git a/contrib/libs/python/Include/pyconfig.ios.armv7.h b/contrib/libs/python/Include/pyconfig.ios.armv7.h deleted file mode 100644 index ec08c5eca5..0000000000 --- a/contrib/libs/python/Include/pyconfig.ios.armv7.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <pyconfig.ios.armv7.h> in Python3" -#else -#include <contrib/tools/python/src/Include/pyconfig.ios.armv7.h> -#endif diff --git a/contrib/libs/python/Include/pyconfig.ios.i386.h b/contrib/libs/python/Include/pyconfig.ios.i386.h deleted file mode 100644 index 98649c420f..0000000000 --- a/contrib/libs/python/Include/pyconfig.ios.i386.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <pyconfig.ios.i386.h> in Python3" -#else -#include <contrib/tools/python/src/Include/pyconfig.ios.i386.h> -#endif diff --git a/contrib/libs/python/Include/pyconfig.ios.x86_64.h b/contrib/libs/python/Include/pyconfig.ios.x86_64.h deleted file mode 100644 index dc87f0ed86..0000000000 --- a/contrib/libs/python/Include/pyconfig.ios.x86_64.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <pyconfig.ios.x86_64.h> in Python3" -#else -#include <contrib/tools/python/src/Include/pyconfig.ios.x86_64.h> -#endif diff --git a/contrib/libs/python/Include/pyconfig.linux.h b/contrib/libs/python/Include/pyconfig.linux.h deleted file mode 100644 index 18ebf9c48c..0000000000 --- a/contrib/libs/python/Include/pyconfig.linux.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <pyconfig.linux.h> in Python3" -#else -#include <contrib/tools/python/src/Include/pyconfig.linux.h> -#endif diff --git a/contrib/libs/python/Include/pyconfig.win32.h b/contrib/libs/python/Include/pyconfig.win32.h deleted file mode 100644 index 6c5c5ae32e..0000000000 --- a/contrib/libs/python/Include/pyconfig.win32.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <pyconfig.win32.h> in Python3" -#else -#include <contrib/tools/python/src/Include/pyconfig.win32.h> -#endif diff --git a/contrib/libs/python/Include/pyctype.h b/contrib/libs/python/Include/pyctype.h deleted file mode 100644 index ec116469ab..0000000000 --- a/contrib/libs/python/Include/pyctype.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <pyctype.h> in Python3" -#else -#include <contrib/tools/python/src/Include/pyctype.h> -#endif diff --git a/contrib/libs/python/Include/pydtrace.h b/contrib/libs/python/Include/pydtrace.h deleted file mode 100644 index 170d5e0ca2..0000000000 --- a/contrib/libs/python/Include/pydtrace.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pydtrace.h> -#else -#error "No <pydtrace.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/pyexpat.h b/contrib/libs/python/Include/pyexpat.h deleted file mode 100644 index e9021bf070..0000000000 --- a/contrib/libs/python/Include/pyexpat.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pyexpat.h> -#else -#include <contrib/tools/python/src/Include/pyexpat.h> -#endif diff --git a/contrib/libs/python/Include/pyframe.h b/contrib/libs/python/Include/pyframe.h deleted file mode 100644 index 69985948aa..0000000000 --- a/contrib/libs/python/Include/pyframe.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pyframe.h> -#else -#error "No <pyframe.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/pygetopt.h b/contrib/libs/python/Include/pygetopt.h deleted file mode 100644 index 3e591b03ce..0000000000 --- a/contrib/libs/python/Include/pygetopt.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <pygetopt.h> in Python3" -#else -#include <contrib/tools/python/src/Include/pygetopt.h> -#endif diff --git a/contrib/libs/python/Include/pyhash.h b/contrib/libs/python/Include/pyhash.h deleted file mode 100644 index 847428d568..0000000000 --- a/contrib/libs/python/Include/pyhash.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pyhash.h> -#else -#error "No <pyhash.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/pylifecycle.h b/contrib/libs/python/Include/pylifecycle.h deleted file mode 100644 index 7cffd7cc74..0000000000 --- a/contrib/libs/python/Include/pylifecycle.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pylifecycle.h> -#else -#error "No <pylifecycle.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/pymacconfig.h b/contrib/libs/python/Include/pymacconfig.h deleted file mode 100644 index 452a8db249..0000000000 --- a/contrib/libs/python/Include/pymacconfig.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pymacconfig.h> -#else -#include <contrib/tools/python/src/Include/pymacconfig.h> -#endif diff --git a/contrib/libs/python/Include/pymacro.h b/contrib/libs/python/Include/pymacro.h deleted file mode 100644 index ba64609d32..0000000000 --- a/contrib/libs/python/Include/pymacro.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pymacro.h> -#else -#error "No <pymacro.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/pymactoolbox.h b/contrib/libs/python/Include/pymactoolbox.h deleted file mode 100644 index 320a4920a4..0000000000 --- a/contrib/libs/python/Include/pymactoolbox.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <pymactoolbox.h> in Python3" -#else -#include <contrib/tools/python/src/Include/pymactoolbox.h> -#endif diff --git a/contrib/libs/python/Include/pymath.h b/contrib/libs/python/Include/pymath.h deleted file mode 100644 index a83f248550..0000000000 --- a/contrib/libs/python/Include/pymath.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pymath.h> -#else -#include <contrib/tools/python/src/Include/pymath.h> -#endif diff --git a/contrib/libs/python/Include/pystrcmp.h b/contrib/libs/python/Include/pystrcmp.h deleted file mode 100644 index 748b61d534..0000000000 --- a/contrib/libs/python/Include/pystrcmp.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pystrcmp.h> -#else -#include <contrib/tools/python/src/Include/pystrcmp.h> -#endif diff --git a/contrib/libs/python/Include/pystrhex.h b/contrib/libs/python/Include/pystrhex.h deleted file mode 100644 index a8a41a1b56..0000000000 --- a/contrib/libs/python/Include/pystrhex.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pystrhex.h> -#else -#error "No <pystrhex.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/pystrtod.h b/contrib/libs/python/Include/pystrtod.h deleted file mode 100644 index 70d9aa343e..0000000000 --- a/contrib/libs/python/Include/pystrtod.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pystrtod.h> -#else -#include <contrib/tools/python/src/Include/pystrtod.h> -#endif diff --git a/contrib/libs/python/Include/pytime.h b/contrib/libs/python/Include/pytime.h deleted file mode 100644 index 7412fa8632..0000000000 --- a/contrib/libs/python/Include/pytime.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/pytime.h> -#else -#error "No <pytime.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/setobject.h b/contrib/libs/python/Include/setobject.h deleted file mode 100644 index 5f09504d2b..0000000000 --- a/contrib/libs/python/Include/setobject.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/setobject.h> -#else -#include <contrib/tools/python/src/Include/setobject.h> -#endif diff --git a/contrib/libs/python/Include/symtable.h b/contrib/libs/python/Include/symtable.h deleted file mode 100644 index fae7e1ddc4..0000000000 --- a/contrib/libs/python/Include/symtable.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <symtable.h> in Python3" -#else -#include <contrib/tools/python/src/Include/symtable.h> -#endif diff --git a/contrib/libs/python/Include/timefuncs.h b/contrib/libs/python/Include/timefuncs.h deleted file mode 100644 index 409ee6df19..0000000000 --- a/contrib/libs/python/Include/timefuncs.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <timefuncs.h> in Python3" -#else -#include <contrib/tools/python/src/Include/timefuncs.h> -#endif diff --git a/contrib/libs/python/Include/token.h b/contrib/libs/python/Include/token.h deleted file mode 100644 index cef4f27bc8..0000000000 --- a/contrib/libs/python/Include/token.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/token.h> -#else -#include <contrib/tools/python/src/Include/token.h> -#endif diff --git a/contrib/libs/python/Include/tracemalloc.h b/contrib/libs/python/Include/tracemalloc.h deleted file mode 100644 index cc29c6ff7e..0000000000 --- a/contrib/libs/python/Include/tracemalloc.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/tracemalloc.h> -#else -#error "No <tracemalloc.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/typeslots.h b/contrib/libs/python/Include/typeslots.h deleted file mode 100644 index 4dd000ae3c..0000000000 --- a/contrib/libs/python/Include/typeslots.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/typeslots.h> -#else -#error "No <typeslots.h> in Python2" -#endif diff --git a/contrib/libs/python/Include/ucnhash.h b/contrib/libs/python/Include/ucnhash.h deleted file mode 100644 index ca9760af1f..0000000000 --- a/contrib/libs/python/Include/ucnhash.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#error "No <ucnhash.h> in Python3" -#else -#include <contrib/tools/python/src/Include/ucnhash.h> -#endif diff --git a/contrib/libs/python/Include/warnings.h b/contrib/libs/python/Include/warnings.h deleted file mode 100644 index d5deac5bc5..0000000000 --- a/contrib/libs/python/Include/warnings.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#ifdef USE_PYTHON3 -#include <contrib/tools/python3/src/Include/warnings.h> -#else -#include <contrib/tools/python/src/Include/warnings.h> -#endif diff --git a/contrib/libs/python/gen_includes.py b/contrib/libs/python/gen_includes.py deleted file mode 100644 index 0e024cc49d..0000000000 --- a/contrib/libs/python/gen_includes.py +++ /dev/null @@ -1,64 +0,0 @@ -import sys -import os -import errno -from os import listdir -from os.path import dirname, relpath, join - - -def ensure_dir_exists(path): - try: - os.makedirs(path) - except OSError as e: - if e.errno == errno.EEXIST and os.path.isdir(path): - pass - else: - raise - - -def make_dir(directory): - if not os.path.exists(directory): - os.makedirs(directory) - - -def files(directory): - for dirpath, dirnames, filenames in os.walk(directory): - for name in filenames: - yield relpath(join(dirpath, name), directory) - - -def headers_set(directory): - return { - f for f in files(directory) - if f.endswith('.h') and not f.startswith('internal/') - } - - -if __name__ == "__main__": - - python2_path = sys.argv[1] - python3_path = sys.argv[2] - output_path = sys.argv[3] - - ensure_dir_exists(join('.', python2_path)) - ensure_dir_exists(join('.', python3_path)) - - only_headers2 = headers_set(python2_path) - only_headers3 = headers_set(python3_path) - all_headers = only_headers2 | only_headers3 - - for header in all_headers: - path = join(output_path, header) - make_dir(dirname(path)) - f = open(path, 'w') - f.write('#pragma once\n\n') - f.write('#ifdef USE_PYTHON3\n') - if (header in only_headers3): - f.write('#include <' + join(python3_path, header) + '>\n') - else: - f.write('#error "No <' + header + '> in Python3"\n') - f.write('#else\n') - if (header in only_headers2): - f.write('#include <' + join(python2_path, header) + '>\n') - else: - f.write('#error "No <' + header + '> in Python2"\n') - f.write('#endif\n') diff --git a/contrib/libs/python/ut/lib/test.cpp b/contrib/libs/python/ut/lib/test.cpp deleted file mode 100644 index e3aabc8889..0000000000 --- a/contrib/libs/python/ut/lib/test.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "test.h" - -#include <Python.h> -#include <library/cpp/testing/unittest/registar.h> - -TTestPyInvoker::TTestPyInvoker() {} - -const char* TTestPyInvoker::GetVersion() { - Py_Initialize(); - - auto* module = PyImport_ImportModule("sys"); - UNIT_ASSERT(module != nullptr); - - auto* versionObj = PyObject_GetAttrString(module, "version"); - if (versionObj == nullptr) { - Py_DECREF(module); - UNIT_ASSERT(versionObj != nullptr); - } - - return Py_GetVersion(); -} diff --git a/contrib/libs/python/ut/lib/test.h b/contrib/libs/python/ut/lib/test.h deleted file mode 100644 index 1bf824ebea..0000000000 --- a/contrib/libs/python/ut/lib/test.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -class TTestPyInvoker { -public: - TTestPyInvoker(); - const char* GetVersion(); -}; diff --git a/contrib/libs/python/ut/py2/use.cpp b/contrib/libs/python/ut/py2/use.cpp deleted file mode 100644 index a4a2c8d9bb..0000000000 --- a/contrib/libs/python/ut/py2/use.cpp +++ /dev/null @@ -1,10 +0,0 @@ -#include <contrib/libs/python/ut/lib/test.h> -#include <library/cpp/testing/unittest/registar.h> - -Y_UNIT_TEST_SUITE(TestPy3Binding) { - Y_UNIT_TEST(version) { - TTestPyInvoker invoker; - UNIT_ASSERT_EQUAL(invoker.GetVersion()[0], '2'); - } -} - diff --git a/contrib/libs/python/ut/py3/use.cpp b/contrib/libs/python/ut/py3/use.cpp deleted file mode 100644 index 8a2531bcc1..0000000000 --- a/contrib/libs/python/ut/py3/use.cpp +++ /dev/null @@ -1,10 +0,0 @@ -#include <contrib/libs/python/ut/lib/test.h> -#include <library/cpp/testing/unittest/registar.h> - -Y_UNIT_TEST_SUITE(TestPy3Binding) { - Y_UNIT_TEST(version) { - TTestPyInvoker invoker; - UNIT_ASSERT_EQUAL(invoker.GetVersion()[0], '3'); - } -} - |