Staging
v0.8.1
v0.8.1
Revision 9eb4ec770668fd660401e2c74c4eea50c211b549 authored by Georg Brandl on 26 November 2010, 08:06:52 UTC, committed by Georg Brandl on 26 November 2010, 08:06:52 UTC
........ r85577 | georg.brandl | 2010-10-16 22:33:11 +0200 (Sa, 16 Okt 2010) | 1 line Get rid of a "unused static function" warning. ........ r85604 | georg.brandl | 2010-10-17 08:21:59 +0200 (So, 17 Okt 2010) | 1 line Note that maxtasksperchild is new in 3.2. ........ r85613 | georg.brandl | 2010-10-17 11:43:35 +0200 (So, 17 Okt 2010) | 1 line Fix hmac docs: it takes and returns bytes, except for hexdigest(). ........ r85633 | georg.brandl | 2010-10-17 12:59:41 +0200 (So, 17 Okt 2010) | 1 line #9204: remove mentions of removed types in the types module. ........ r85680 | georg.brandl | 2010-10-18 09:27:55 +0200 (Mo, 18 Okt 2010) | 1 line Fix compiler warning about unused static function. ........ r85681 | georg.brandl | 2010-10-18 09:30:06 +0200 (Mo, 18 Okt 2010) | 1 line Fix type of hash function. ........ r85682 | georg.brandl | 2010-10-18 09:32:48 +0200 (Mo, 18 Okt 2010) | 1 line Remove unneeded casts to hashfunc. ........ r85683 | georg.brandl | 2010-10-18 09:35:09 +0200 (Mo, 18 Okt 2010) | 1 line Remove more unneeded casts to hashfunc. ........ r85692 | georg.brandl | 2010-10-18 14:24:53 +0200 (Mo, 18 Okt 2010) | 1 line Fix hash function type. ........ r85787 | georg.brandl | 2010-10-22 08:28:01 +0200 (Fr, 22 Okt 2010) | 1 line #10166: rewrite self-recursion to iteration in pstats.Stats.add(). Also add a unittest and a stats test file. ........ r85788 | georg.brandl | 2010-10-22 08:29:21 +0200 (Fr, 22 Okt 2010) | 1 line Make top_level attribute a set instead of a dict with None values. ........ r85789 | georg.brandl | 2010-10-22 08:35:59 +0200 (Fr, 22 Okt 2010) | 1 line Refactor interesting use of try-finally. ........
1 parent ef212e0
README.txt
Building a MacPython distribution
=================================
The ``build-install.py`` script creates MacPython distributions, including
sleepycat db4, sqlite3 and readline support. 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.
Prerequisites
-------------
* A MacOS X 10.4 (or later)
* XCode 2.2 (or later), with the universal SDK
* No Fink (in ``/sw``) or DarwinPorts (in ``/opt/local``), those could
interfere with the build.
* The documentation for the release must be available on python.org
because it is included in the installer.
The Recipe
----------
Here are the steps you need to follow to build a MacPython installer:
* Run ``./build-installer.py``. Optionally you can pass a number of arguments
to specify locations of various files. Please see the top of
``build-installer.py`` for its usage.
Running this script takes some time, I will not only build Python itself
but also some 3th-party libraries that are needed for extensions.
* When done the script will tell you where the DMG image is (by default
somewhere in ``/tmp/_py``).
Building a 4-way universal installer
....................................
It is also possible to build a 4-way universal installer that runs on
OSX Leopard or later::
$ ./build-installer.py --dep-target=10.5 --universal-archs=all --sdk=/
This requires that the deployment target is 10.5 (or later), and hence
also that your building on at least OSX 10.5.
Testing
-------
The resulting binaries should work on MacOSX 10.3.9 or later. I usually run
the installer on a 10.3.9, a 10.4.x PPC and a 10.4.x Intel system and then
run the testsuite to make sure.
Announcements
-------------
(This is mostly of historic interest)
When all is done, announcements can be posted to at least the following
places:
- pythonmac-sig@python.org
- python-dev@python.org
- python-announce@python.org
- archivist@info-mac.org
- adcnews@apple.com
- news@macnn.com
- http://www.macupdate.com
- http://guide.apple.com/usindex.lasso
- http://www.apple.com/downloads/macosx/submit
- http://www.versiontracker.com/ (userid Jack.Jansen@oratrix.com)
- http://www.macshareware.net (userid jackjansen)
Also, check out Stephan Deibels http://pythonology.org/market contact list
Computing file changes ...