Skip to content

Commit 96c6f6a

Browse files
committed
сleanup
1 parent f7caebe commit 96c6f6a

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

modules/general.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,16 +1028,6 @@ def run_benchmark(self, args: list[str]):
10281028
for f in (src_dir / "tl" / "generate" / "scheme").glob("*.tl"):
10291029
shutil.copy(f, tl_dest)
10301030

1031-
# Force an editable install. The `tonapi` package is generated by
1032-
# generate_tl.py below (gitignored, no __init__.py) and does not exist
1033-
# yet, so a non-editable install would build a wheel without it and the
1034-
# later-generated `tonapi` would not be importable (ModuleNotFoundError).
1035-
# Editable exposes the live source `src/` dir so the generated files are
1036-
# seen at import time. We must NOT rely on uv auto-installing editable via
1037-
# workspace-member detection: when ton_work is a symlink, uv's resolved
1038-
# cwd (getcwd) differs from the symlink-prefixed tontester_dir argument,
1039-
# its in-tree containment check fails, and it falls back to a non-editable
1040-
# path dependency. Passing --editable makes it explicit and symlink-proof.
10411031
subprocess.run(
10421032
["uv", "add", "--editable", tontester_dir], cwd=tmp_dir, check=True
10431033
)

0 commit comments

Comments
 (0)