From f0ee8022522b109ecbddf0820109e361059052b6 Mon Sep 17 00:00:00 2001 From: Elvis Wianda Date: Mon, 22 Apr 2024 13:50:49 -0400 Subject: [PATCH] fix: Remove pycache directories after installation --- pycross/private/tools/wheel_installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycross/private/tools/wheel_installer.py b/pycross/private/tools/wheel_installer.py index 4c122d2d..43a0aee2 100644 --- a/pycross/private/tools/wheel_installer.py +++ b/pycross/private/tools/wheel_installer.py @@ -52,7 +52,7 @@ def main(args: Any) -> None: }, interpreter="/usr/bin/env python3", # Generic; it's not feasible to run these scripts directly. script_kind="posix", - bytecode_optimization_levels=[0, 1], + bytecode_optimization_levels=[], # Setting to empty list to disable generation of .pyc files. ) link_dir = Path(tempfile.mkdtemp())