summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspreis <[email protected]>2025-04-02 20:00:35 +0300
committerspreis <[email protected]>2025-04-02 20:15:25 +0300
commit0f46543ac7870f75b40ddc611ab8b9e037c212e7 (patch)
tree4b690aa45f81e2216b5ef9565bdeeb58dd878dfd
parente13c32ebb249441645b1fe62059650da53087c29 (diff)
Move python-related code to python.conf
commit_hash:5bf4cc5107f4564d85b22d3028f7badb1ba56ea3
-rw-r--r--build/conf/python.conf8
-rw-r--r--build/ymake.core.conf8
2 files changed, 8 insertions, 8 deletions
diff --git a/build/conf/python.conf b/build/conf/python.conf
index 2a6f81e2001..d99de1e8545 100644
--- a/build/conf/python.conf
+++ b/build/conf/python.conf
@@ -744,6 +744,14 @@ module _BASE_PY_PROGRAM: _BASE_PROGRAM {
SET(MODULE_LANG PY2)
}
+# tag:codenav tag:py2 tag:deprecated
+when ($CODENAVIGATION && $NOCODENAVIGATION != "yes") {
+ PY_PROGRAM_LINK_EXE=$LINK_EXE && ${hide;kv:"pyndex $TARGET"}
+}
+otherwise {
+ PY_PROGRAM_LINK_EXE=$LINK_EXE
+}
+
# tag:python-specific tag:codenav
when ($CODENAVIGATION && $NOCODENAVIGATION != "yes") {
PY3_PROGRAM_LINK_EXE=$LINK_EXE && ${hide;kv:"py3yndex $TARGET"}
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index 8220fe80edd..482b2ed5da5 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -250,14 +250,6 @@ otherwise {
COPY_PROFILE_RUNTIME=
}
-# tag:codenav
-when ($CODENAVIGATION && $NOCODENAVIGATION != "yes") {
- PY_PROGRAM_LINK_EXE=$LINK_EXE && ${hide;kv:"pyndex $TARGET"}
-}
-otherwise {
- PY_PROGRAM_LINK_EXE=$LINK_EXE
-}
-
when ($RETRY == "yes") {
RETRY_ARGS=$YMAKE_PYTHON ${input:"build/scripts/retry_cc.py"}
}