Skip to content

Commit e7ed313

Browse files
authored
fix: Don't generate pyc files on installation (#92)
1 parent 84dbd19 commit e7ed313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycross/private/tools/wheel_installer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def main(args: Any) -> None:
5252
},
5353
interpreter="/usr/bin/env python3", # Generic; it's not feasible to run these scripts directly.
5454
script_kind="posix",
55-
bytecode_optimization_levels=[0, 1],
55+
bytecode_optimization_levels=[], # Setting to empty list to disable generation of .pyc files.
5656
)
5757

5858
link_dir = Path(tempfile.mkdtemp())

0 commit comments

Comments
 (0)