Skip to content

Commit 770ab0b

Browse files
committed
tempo fix for win (pybuild)
Предлагаю пока так отрубить для винды. Хочется, чтобы покрытие работало commit_hash:9b3ec4a246f6597795dc0b2d12d6524bb688e129
1 parent 230f337 commit 770ab0b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build/plugins/pybuild.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,11 @@ def py_program(unit, py3):
209209
if unit.get('PYTHON_SQLITE3') != 'no':
210210
peers.append('contrib/tools/python/src/Modules/_sqlite')
211211
unit.onpeerdir(peers)
212-
unit.onwindows_long_path_manifest()
212+
213+
# DEVTOOLSSUPPORT-53161
214+
if os.name == 'nt':
215+
unit.onwindows_long_path_manifest()
216+
213217
if unit.get('MODULE_TYPE') == 'PROGRAM': # can not check DLL
214218
unit.onadd_check_py_imports()
215219

0 commit comments

Comments
 (0)