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
Unknown Object (File)
Dec 6 2024, 11:34 AM
Unknown Object (File)
Nov 28 2024, 11:56 PM
Unknown Object (File)
Nov 23 2024, 11:16 PM
Unknown Object (File)
Nov 21 2024, 1:58 PM
Unknown Object (File)
Nov 1 2024, 12:16 AM
Unknown Object (File)
Oct 1 2024, 1:29 PM
Unknown Object (File)
Oct 1 2024, 1:29 PM
Unknown Object (File)
Oct 1 2024, 1:29 PM
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