mirror of
https://github.com/python/cpython
synced 2026-09-29 10:15:30 +03:00
Removed unintentional trailing spaces in text files.
This commit is contained in:
parent
1770fde94c
commit
bfbfc8deb2
15 changed files with 66 additions and 66 deletions
|
|
@ -2,10 +2,10 @@ Building a Python Mac OS X distribution
|
|||
=======================================
|
||||
|
||||
The ``build-install.py`` script creates Python distributions, including
|
||||
certain third-party libraries as necessary. It builds a complete
|
||||
framework-based Python out-of-tree, installs it in a funny place with
|
||||
$DESTROOT, massages that installation to remove .pyc files and such, creates
|
||||
an Installer package from the installation plus other files in ``resources``
|
||||
certain third-party libraries as necessary. It builds a complete
|
||||
framework-based Python out-of-tree, installs it in a funny place with
|
||||
$DESTROOT, massages that installation to remove .pyc files and such, creates
|
||||
an Installer package from the installation plus other files in ``resources``
|
||||
and ``scripts`` and placed that on a ``.dmg`` disk image.
|
||||
|
||||
For Python 3.4.0, PSF practice is to build two installer variants
|
||||
|
|
@ -101,7 +101,7 @@ for each release.
|
|||
/usr/bin/python build-installer.py \
|
||||
--sdk-path=/Developer/SDKs/MacOSX10.4u.sdk \
|
||||
--universal-archs=32-bit \
|
||||
--dep-target=10.3
|
||||
--dep-target=10.3
|
||||
|
||||
- builds the following third-party libraries
|
||||
|
||||
|
|
@ -116,7 +116,7 @@ for each release.
|
|||
- requires ActiveState ``Tcl/Tk 8.4`` (currently 8.4.20) to be installed for building
|
||||
|
||||
- recommended build environment:
|
||||
|
||||
|
||||
* Mac OS X 10.5.8 PPC or Intel
|
||||
* Xcode 3.1.4 (or later)
|
||||
* ``MacOSX10.4u`` SDK (later SDKs do not support PPC G3 processors)
|
||||
|
|
@ -174,7 +174,7 @@ Here are the steps you need to follow to build a Python installer:
|
|||
Building other universal installers
|
||||
...................................
|
||||
|
||||
It is also possible to build a 4-way universal installer that runs on
|
||||
It is also possible to build a 4-way universal installer that runs on
|
||||
OS X 10.5 Leopard or later::
|
||||
|
||||
/usr/bin/python /build-installer.py \
|
||||
|
|
@ -208,7 +208,7 @@ a PPC G4 system with OS X 10.5 and at least one Intel system running OS X
|
|||
|
||||
/usr/local/bin/pythonn.n -m test -w -u all,-largefile
|
||||
/usr/local/bin/pythonn.n-32 -m test -w -u all
|
||||
|
||||
|
||||
Certain tests will be skipped and some cause the interpreter to fail
|
||||
which will likely generate ``Python quit unexpectedly`` alert messages
|
||||
to be generated at several points during a test run. These are normal
|
||||
|
|
|
|||
14
Mac/README
14
Mac/README
|
|
@ -19,7 +19,7 @@ OS X specific arguments to configure
|
|||
|
||||
If this argument is specified the build will create a Python.framework rather
|
||||
than a traditional Unix install. See the section
|
||||
_`Building and using a framework-based Python on Mac OS X` for more
|
||||
_`Building and using a framework-based Python on Mac OS X` for more
|
||||
information on frameworks.
|
||||
|
||||
If the optional directory argument is specified the framework is installed
|
||||
|
|
@ -53,7 +53,7 @@ OS X specific arguments to configure
|
|||
|
||||
* ``--with-univeral-archs=VALUE``
|
||||
|
||||
Specify the kind of universal binary that should be created. This option is
|
||||
Specify the kind of universal binary that should be created. This option is
|
||||
only valid when ``--enable-universalsdk`` is specified. The default is
|
||||
``32-bit`` if a building with a SDK that supports PPC, otherwise defaults
|
||||
to ``intel``.
|
||||
|
|
@ -174,14 +174,14 @@ Building and using a framework-based Python on Mac OS X.
|
|||
--------------------------------------------------------------------------
|
||||
|
||||
The main reason is because you want to create GUI programs in Python. With the
|
||||
exception of X11/XDarwin-based GUI toolkits all GUI programs need to be run
|
||||
exception of X11/XDarwin-based GUI toolkits all GUI programs need to be run
|
||||
from a Mac OS X application bundle (".app").
|
||||
|
||||
While it is technically possible to create a .app without using frameworks you
|
||||
will have to do the work yourself if you really want this.
|
||||
|
||||
A second reason for using frameworks is that they put Python-related items in
|
||||
only two places: "/Library/Framework/Python.framework" and
|
||||
only two places: "/Library/Framework/Python.framework" and
|
||||
"/Applications/Python <VERSION>" where ``<VERSION>`` can be e.g. "3.4",
|
||||
"2.7", etc. This simplifies matters for users installing
|
||||
Python from a binary distribution if they want to get rid of it again. Moreover,
|
||||
|
|
@ -228,11 +228,11 @@ in the sequence
|
|||
1. ./configure --enable-framework
|
||||
|
||||
2. make
|
||||
|
||||
|
||||
3. make install
|
||||
|
||||
This sequence will put the framework in ``/Library/Framework/Python.framework``,
|
||||
the applications in ``/Applications/Python <VERSION>`` and the unix tools in
|
||||
the applications in ``/Applications/Python <VERSION>`` and the unix tools in
|
||||
``/usr/local/bin``.
|
||||
|
||||
Installing in another place, for instance ``$HOME/Library/Frameworks`` if you
|
||||
|
|
@ -300,7 +300,7 @@ All of this is normally done completely isolated in /tmp/_py, so it does not
|
|||
use your normal build directory nor does it install into /.
|
||||
|
||||
Because of the way the script locates the files it needs you have to run it
|
||||
from within the BuildScript directory. The script accepts a number of
|
||||
from within the BuildScript directory. The script accepts a number of
|
||||
command-line arguments, run it with --help for more information.
|
||||
|
||||
Configure warnings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue