Yurttas/PL/SL/python/docs/core-python-programming/doc/20/inst/alt-install-macos.html
Jump to navigation
Jump to search
4.4 Alternate installation: Mac OS
Like Windows, Mac OS has no notion of home directories (or even of users), and a fairly simple standard Python installation. Thus, only a --prefix option is needed. It defines the installation base, and files are installed under it as follows:
| Type of file | Installation Directory | Override option | pure module distribution | prefix:Lib:site-packages | --install-purelib |
|---|---|---|---|---|---|
| non-pure module distribution | prefix:Lib:site-packages | --install-platlib | |||
| scripts | prefix:Scripts | --install-scripts | |||
| data | prefix:Data | --install-data |
See section 2.1 for information on supplying command-line arguments to the setup script with MacPython.
See About this document... for information on suggesting changes.