mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
This patch adds a new configure argument on OSX:
--with-universal-archs=[32-bit|64-bit|all]
When used with the --enable-universalsdk option this controls which
CPU architectures are includes in the framework. The default is 32-bit,
meaning i386 and ppc. The most useful alternative is 'all', which includes
all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64).
This includes limited support for the Carbon bindings in 64-bit mode as well,
limited because (a) I haven't done extensive testing and (b) a large portion
of the Carbon API's aren't available in 64-bit mode anyway.
I've also duplicated a feature of Apple's build of python: setting the
environment variable 'ARCHFLAGS' controls the '-arch' flags used for building
extensions using distutils.
|
||
|---|---|---|
| .. | ||
| command | ||
| tests | ||
| __init__.py | ||
| archive_util.py | ||
| bcppcompiler.py | ||
| ccompiler.py | ||
| cmd.py | ||
| config.py | ||
| core.py | ||
| cygwinccompiler.py | ||
| debug.py | ||
| dep_util.py | ||
| dir_util.py | ||
| dist.py | ||
| emxccompiler.py | ||
| errors.py | ||
| extension.py | ||
| fancy_getopt.py | ||
| file_util.py | ||
| filelist.py | ||
| log.py | ||
| msvc9compiler.py | ||
| msvccompiler.py | ||
| mwerkscompiler.py | ||
| README | ||
| spawn.py | ||
| sysconfig.py | ||
| text_file.py | ||
| unixccompiler.py | ||
| util.py | ||
| version.py | ||
| versionpredicate.py | ||
This directory contains only a subset of the Distutils, specifically
the Python modules in the 'distutils' and 'distutils.command'
packages. This is all you need to distribute and install Python
modules using the Distutils. There is also a separately packaged
standalone version of the Distutils available for people who want to
upgrade the Distutils without upgrading Python, available from the
Distutils web page:
http://www.python.org/sigs/distutils-sig/
The standalone version includes all of the code in this directory,
plus documentation, test scripts, examples, etc.
The Distutils documentation is divided into two documents, "Installing
Python Modules", which explains how to install Python packages, and
"Distributing Python Modules", which explains how to write setup.py
files. Both documents are part of the standard Python documentation
set, and are available from http://www.python.org/doc/current/ .
Greg Ward (gward@python.net)
$Id$