Lines Matching +full:install +full:- +full:classic
6 Jack Jansen (2004-07),
7 Ronald Oussoren (2010-04),
8 Ned Deily (2014-05)
18 * ``--enable-framework[=DIR]``
21 than a traditional Unix install. See the section
22 _`Building and using a framework-based Python on Mac OS X` for more
26 into that directory. This can be used to install a python framework into
29 $ ./configure --enable-framework=/Users/ronald/Library/Frameworks
30 $ make && make install
32 This will install the framework itself in ``/Users/ronald/Library/Frameworks``,
34 command-line tools in ``/Users/ronald/bin``.
36 * ``--with-framework-name=NAME``
39 is only valid when ``--enable-framework`` is specified.
41 * ``--enable-universalsdk[=PATH]``
51 OS X 10.9, you should install the optional system headers from the Command
52 Line Tools component using ``xcode-select``::
54 $ sudo xcode-select --install
59 * ``--with-universal-archs=VALUE``
62 only valid when ``--enable-universalsdk`` is specified. The default is
63 ``32-bit`` if a building with a SDK that supports PPC, otherwise defaults
71 -----------------------------
75 architecture-specific code into one file and can therefore run at native
77 OS X 10.4 to add support for Intel-based Macs to the existing PowerPC (PPC)
78 machines. In OS X 10.5 support was extended to 64-bit Intel and 64-bit PPC
83 ------------------------------------
85 You can enable universal binaries by specifying the "--enable-universalsdk"
88 $ ./configure --enable-universalsdk
90 $ make install
92 This flag can be used with a framework build of python, but also with a classic
98 Apple-supplied compilers and other build tools included in Apple's Xcode
99 development tools. You should install Xcode and the command line tools
108 the default is a 32-bit only binary (i386 and ppc) in build environments that
110 Intel-32/-64-bit binary (i386 and X86_64) in build environments that do not
112 using the configure option ``--with-universal-archs=VALUE``. The following
117 * ``intel-32``: ``i386``
119 * ``intel-64``: ``x86_64``
121 * ``32-bit``: ``ppc``, ``i386``
123 * ``3-way``: ``i386``, ``x86_64``, ``ppc``
125 * ``64-bit``: ``ppc64``, ``x86_64``
129 To build a universal binary that includes a 64-bit architecture, you must build
130 on a system running OS X 10.5 or later. The ``all`` and ``64-bit`` flavors can
135 following combinations of SDKs and universal-archs flavors are available:
137 * 10.4u SDK with Xcode 2 supports ``32-bit`` only
141 * 10.6 SDK with Xcode 3.2.x supports ``intel``, ``3-way``, and ``32-bit``
149 The makefile for a framework build will also install ``python2.7-32``
150 binaries when the universal architecture includes at least one 32-bit
151 architecture (that is, for all flavors but ``64-bit``).
158 $ arch -i386 python
160 Or to explicitly run in 32-bit mode, regardless of the machine hardware::
162 $ arch -i386 -ppc python
164 NOTE: When you're using a framework install of Python this requires at least
172 subprocesses also run in 32-bit-mode if the main interpreter does, use
173 a ``python2.7-32`` binary and use the value of ``sys.executable`` as the
176 Building and using a framework-based Python on Mac OS X.
181 --------------------------------------------------------------------------
184 exception of X11/XDarwin-based GUI toolkits all GUI programs need to be run
190 A second reason for using frameworks is that they put Python-related items in
195 due to the way frameworks work, a user without admin privileges can install a
199 ------------------------------------------------------------------
208 ----------------------------
212 aware, though, that the Cocoa-based AquaTk's supplied starting with OS X
223 -------------------------------------
225 This directory contains a Makefile that will create a couple of python-related
226 applications (full-blown OS X .app applications, that is) in
235 1. ./configure --enable-framework
239 3. make install
247 by configuring with ``--enable-framework=$HOME/Library/Frameworks``.
249 at ``$HOME/Applications/Python-<VERSION>`` and ``$HOME/bin``.
251 If you want to install some part, but not all, read the main Makefile. The
252 frameworkinstall is composed of a couple of sub-targets that install the
267 double-click a .py, .pyc or .pyw file. For the first two it creates a Terminal
268 window and runs the scripts with the normal command-line Python. For the
270 GUI-things. Keep the ``Option`` key depressed while dragging or double-clicking
275 and out comes a full-featured Mac OS X application. "Build Applet.app" is now
293 ``build-installer.py`` that does all the work. This will download and build
294 a number of 3rd-party libaries, configures and builds a framework Python,
304 available out of the box with OS X 10.4 so you may have to install
316 use your normal build directory nor does it install into /.
320 command-line arguments, run it with --help for more information.
333 configure: WARNING: ## -------------------------------------- ##
335 configure: WARNING: ## -------------------------------------- ##
342 Uninstalling a framework install, including the binary installer
349 The main bit of a framework install is the framework itself, installed in
352 version-specific subdirectory: ``/Library/Frameworks/Python.framework/Versions/X.Y``.
356 A framework install also installs some applications in ``/Applications/Python X.Y``,
367 * http://www.python.org/community/sigs/current/pythonmac-sig/