Skip to content

Commit

Permalink
fix: Don't generate pyc files on installation (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
ewianda authored Apr 26, 2024
1 parent 84dbd19 commit e7ed313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycross/private/tools/wheel_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit e7ed313

Please sign in to comment.