Page MenuHomeFreeBSD

python.mk: do not write bytecode during build
Needs ReviewPublic

Authored by vishwin on Mar 29 2023, 4:31 AM.
Tags
None
Referenced Files
F82956463: D39306.diff
Sat, May 4, 11:30 AM
Unknown Object (File)
Thu, Apr 25, 10:20 PM
Unknown Object (File)
Jan 28 2024, 7:32 AM
Unknown Object (File)
Dec 20 2023, 8:13 AM
Unknown Object (File)
Dec 11 2023, 1:40 AM
Unknown Object (File)
Nov 25 2023, 3:39 AM
Unknown Object (File)
Oct 11 2023, 9:12 AM
Unknown Object (File)
Oct 11 2023, 9:12 AM
Subscribers

Details

Reviewers
None
Group Reviewers
Python
portmgr
Summary

When building as a user with write privileges to locations of imported modules (usually root), Python writes bytecode by default if not already existing. Disable this behaviour to prevent filesystem pollution.

Test Plan

exp-run

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 50628
Build 47519: arc lint + arc unit