aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorignat <ignat@yandex-team.ru>2022-02-10 16:48:20 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:20 +0300
commitc8b279dd21ddcb47e755028d81281f113a0f4a11 (patch)
tree59384fcb7e8e0566cac1ed9738ab30f0b2559b58 /build
parent2096e85a73bb6b3b20ae25a92943992717fe4167 (diff)
downloadydb-c8b279dd21ddcb47e755028d81281f113a0f4a11.tar.gz
Restoring authorship annotation for <ignat@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'build')
-rw-r--r--build/plugins/pybuild.py8
-rw-r--r--build/ymake.core.conf26
2 files changed, 17 insertions, 17 deletions
diff --git a/build/plugins/pybuild.py b/build/plugins/pybuild.py
index f32a2d39a0..3913a456be 100644
--- a/build/plugins/pybuild.py
+++ b/build/plugins/pybuild.py
@@ -209,10 +209,10 @@ def onpy_srcs(unit, *args):
if unit_needs_main:
py_program(unit, py3)
- py_namespace_value = unit.get('PY_NAMESPACE_VALUE')
- if py_namespace_value == ".":
- ns = ""
- else:
+ py_namespace_value = unit.get('PY_NAMESPACE_VALUE')
+ if py_namespace_value == ".":
+ ns = ""
+ else:
ns = (unit.get('PY_NAMESPACE_VALUE') or upath.replace('/', '.')) + '.'
cython_coverage = unit.get('CYTHON_COVERAGE') == 'yes'
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index 081833998b..c6def02d48 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -8819,26 +8819,26 @@ multimodule PY23_LIBRARY {
###
### @see [LIBRARY()](#module_LIBRARY), [PY2MODULE()](#module_PY2MODULE)
multimodule PY23_NATIVE_LIBRARY {
- module PY2: LIBRARY {
+ module PY2: LIBRARY {
.RESTRICTED=PY_SRCS USE_PYTHON2 USE_PYTHON3 PYTHON3_ADDINCL
- OBJ_SUF=.py2
+ OBJ_SUF=.py2
PYTHON2_ADDINCL()
SET(MODULE_LANG PY2)
- }
- module PY3: LIBRARY {
+ }
+ module PY3: LIBRARY {
.RESTRICTED=PY_SRCS USE_PYTHON2 USE_PYTHON3
.ALIASES=PYTHON2_ADDINCL=PYTHON3_ADDINCL
PYTHON3_ADDINCL()
SET(MODULE_LANG PY3)
- when ($MSVC == "yes" || $CYGWIN == "yes") {
- MODULE_PREFIX=py3c
- }
- otherwise {
- MODULE_PREFIX=libpy3c
- }
- OBJ_SUF=.py3
- }
-}
+ when ($MSVC == "yes" || $CYGWIN == "yes") {
+ MODULE_PREFIX=py3c
+ }
+ otherwise {
+ MODULE_PREFIX=libpy3c
+ }
+ OBJ_SUF=.py3
+ }
+}
IBTOOL_PATH=$XCODE_TOOLS_ROOT_RESOURCE_GLOBAL/Xcode/Contents/Developer/usr/bin/ibtool
# tag:src-processing