aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python/pyconfig.inc
diff options
context:
space:
mode:
authormonster <monster@ydb.tech>2022-07-07 14:41:37 +0300
committermonster <monster@ydb.tech>2022-07-07 14:41:37 +0300
commit06e5c21a835c0e923506c4ff27929f34e00761c2 (patch)
tree75efcbc6854ef9bd476eb8bf00cc5c900da436a2 /contrib/tools/python/pyconfig.inc
parent03f024c4412e3aa613bb543cf1660176320ba8f4 (diff)
downloadydb-06e5c21a835c0e923506c4ff27929f34e00761c2.tar.gz
fix ya.make
Diffstat (limited to 'contrib/tools/python/pyconfig.inc')
-rw-r--r--contrib/tools/python/pyconfig.inc48
1 files changed, 0 insertions, 48 deletions
diff --git a/contrib/tools/python/pyconfig.inc b/contrib/tools/python/pyconfig.inc
deleted file mode 100644
index 01da7d4566..0000000000
--- a/contrib/tools/python/pyconfig.inc
+++ /dev/null
@@ -1,48 +0,0 @@
-NO_COMPILER_WARNINGS()
-
-ENABLE(USE_ARCADIA_PYTHON)
-
-SET(PYTHON_DIR "contrib/tools/python")
-SET(PYTHON_SRC_DIR "${PYTHON_DIR}/src")
-
-SET(PYTHON_ROOT "${ARCADIA_ROOT}/${PYTHON_DIR}")
-SET(PYTHON_SRC_ROOT "${ARCADIA_ROOT}/${PYTHON_SRC_DIR}")
-
-SET(PYTHON_FLAGS "-DPy_BUILD_CORE")
-
-ADDINCL(${PYTHON_SRC_DIR}/Include)
-
-CFLAGS(
- -DUNQUOTED_VERSION=2.7
-)
-
-IF (NOT WIN32)
- EXTRALIBS(-lutil)
-
- IF (LINUX)
- EXTRALIBS(-ldl)
-
- CFLAGS(
- -DUNQUOTED_PYTHONPATH=:plat-linux2
- -DUNQUOTED_PLATFORM=linux2
- )
- ELSEIF (FREEBSD)
- CFLAGS(
- -DUNQUOTED_PYTHONPATH=:plat-freebsd${FREEBSD_VER}
- -DUNQUOTED_PLATFORM=freebsd${FREEBSD_VER}
- )
- ELSEIF (DARWIN)
- CFLAGS(
- -DUNQUOTED_PYTHONPATH=:plat-darwin
- -DUNQUOTED_PLATFORM=darwin
- )
- LDFLAGS(
- -framework SystemConfiguration
- -framework CoreFoundation
- )
- ENDIF ()
-ENDIF ()
-
-IF (MSVC)
- CFLAGS(/DXMLCALL= /DXMLIMPORT=)
-ENDIF ()