-
Notifications
You must be signed in to change notification settings - Fork 339
About Munki's Embedded Python
Munki 4 and above embeds its own Python 3 framework and does not rely on Apple's Python installation.
The included framework is created via this tool. The Python framework it builds is based on a Python.org release, and adds PyObjC, xattr, and other needed modules to the installed Python modules.
The "embedded" Python framework is installed by default to /usr/local/munki/Python.framework
.
The command-line tools have their "she-bang" line set to #!/usr/local/munki/munki-python
.
/usr/local/munki/munki-python
is a symlink to Python.framework/Versions/Current/bin/python3
in Munki releases prior to 6.5. In Munki 6.5, which updated the Python framework to version 3.12.2, the symlink points to Python.framework/Versions/Current/Resources/Python.app/Contents/MacOS/Python
. This change avoids issues with Python 3.11 and above when the previous symlink was used.
This arrangement has a few implications.
If you have your own customized Python 3 you'd like Munki to use, you can replace the symlink at /usr/local/munki/munki-python
with one pointing to your own Python. You could also decide then to not install Munki's embedded Python at all. Munki's embedded Python is a optional component package within the Munkitools distribution package.
- Getting Started
- Overview
- Discussion Group
- Demonstration Setup
- Glossary
- Frequently Asked Questions
- Contributing to Munki
- Release Notes
- Introduction
- Managed Software Center in Munki 5.2
- Manual Apple Updates
- force_install_after_date for Apple Updates
- Additional update encouragement
- Aggressive update notifications
- AggressiveUpdateNotificationDays preference
- Additional Munki 5 changes
- Configuration profile notes
- Major macOS upgrade notes
- Upgrading to Munki 5
- Introduction
- Munki Links
- Product Icons
- Screenshots In Product Descriptions
- Client Customization
- Custom Help Content
- Featured Items
- Update Notifications:
- Introduction
- iconimporter
- makepkginfo
- munkiimport
- managedsoftwareupdate
- makecatalogs
- manifestutil
- repoclean
- Preferences
- Default Repo Detection
- Default Manifest Resolution
- Managed Preferences Support In Munki
- Apple Software Updates With Munki
- Pkginfo Files
- Supported Pkginfo Keys
- Pre And Postinstall Scripts
- Munki And AutoRemove
- Blocking Applications
- ChoiceChangesXML
- CopyFromDMG
- nopkg items
- How Munki Decides What Needs To Be Installed
- Default Installs
- Removal of Unused Software
- Upgrading macOS:
- Apple Updates:
- Securing the Munki repo
- Preflight And Postflight Scripts
- Report Broken Client
- MSC Logging
- Munki With Git
- Bootstrapping With Munki
- License Seat Tracking
- LaunchD Jobs and Changing When Munki Runs
- Web Request Middleware
- Repo Plugins
- Downgrading Software
- Downgrading Munki tools
- Authorized Restarts
- Allowing Untrusted Packages
- About Munki's Embedded Python
- Customizing Python for Munki
- Configuration Profile Emulation
- PPPC Privacy permissions
- AutoPkg
- Repackaging
- Creating Disk Images
- Stupid Munki Tricks
- Troubleshooting
- Professional Support
- Known Issues and Workarounds
- Building Munki packages
- Munki packages and restarts
- Signing Munki
- Removing Munki
- More Links And Tools
- Munki Configuration Script
- Who's Using Munki
- Munki 3 Information
- Munki 4 Information
- macOS Monterey Info
- Pkginfo For Apple Software Updates
- Managing Configuration Profiles
- Microsoft Office
- Adobe Products
- Upgrading macOS: