mirror of https://github.com/python/cpython
Updated for the 1.6a2 distribution: added a note about the special Tcl/Tk distribution, about Quicktime Exschange and a few minor updates.
This commit is contained in:
parent
e4d7b5e626
commit
8b41d5363a
|
@ -90,11 +90,11 @@ you need:
|
||||||
|
|
||||||
<UL>
|
<UL>
|
||||||
|
|
||||||
<LI> Tcl and Tk can be obtained from <A
|
<LI> Tcl and Tk are in a sad state on the Mac, the standard source distributions
|
||||||
HREF="ftp://ftp.smli.com/pub/tcl/mac/">ftp://ftp.smli.com/pub/tcl/mac/</A>.
|
simply don't compile, so I have created a distribution especially for use
|
||||||
The current distributions, Tcl 8.0p2 and Tk 8.0p2 need a bit of work,
|
with MacPython.
|
||||||
see the section on <A HREF="#tcltk">building Tcl/Tk Python</A>
|
See the section on <A HREF="#tcltk">building Tcl/Tk Python</A>
|
||||||
below. Get the "full source" distribution, which includes MoreFiles.
|
below.
|
||||||
|
|
||||||
<LI> Waste, a TextEdit replacement written by Marco Piovanelli, <A
|
<LI> Waste, a TextEdit replacement written by Marco Piovanelli, <A
|
||||||
HREF="mailto:piovanel@kagi.com"><piovanel@kagi.com></A>. Python
|
HREF="mailto:piovanel@kagi.com"><piovanel@kagi.com></A>. Python
|
||||||
|
@ -181,24 +181,24 @@ static 68K, CFM68K or PPC you can skip building the other libraries.
|
||||||
|
|
||||||
<H2><A NAME="tcltk">Building Tcl/Tk</H2>
|
<H2><A NAME="tcltk">Building Tcl/Tk</H2>
|
||||||
|
|
||||||
You need to make some minor changes to the Tcl/Tk 8.0
|
The Tcl/Tk 8.3.0 source distribution does not work on the Mac. I have created
|
||||||
distribution. You should make the CW Pro projects (in the mac subfolders).
|
an archive of the sources that I used to build _tkinter for MacPython,
|
||||||
<UL>
|
you can obtain this from <a
|
||||||
|
href="ftp://ftp.cwi.nl/pub/jack/python/mac/tcltk830src-for-python.sit">
|
||||||
|
ftp://ftp.cwi.nl/pub/jack/python/mac/tcltk830src-for-python.sit</a>. Only the
|
||||||
|
libraries needed to build _tkinter for PPC have been fixed. <P>
|
||||||
|
|
||||||
<LI> There are no cfm68k targets. You make these by copying the 68k targets,
|
Note that if you use a different release of Tcl and Tk than the ones
|
||||||
setting the "68k target" to "cfm68k library" and changing the output filename,
|
|
||||||
and changing the prefix
|
|
||||||
header filename in the C/C++ settings panel to "MW_???HeaderCFM68K".
|
|
||||||
|
|
||||||
<LI> I had to add Search.c (from MoreFiles) to the tcl library projects. I don't
|
|
||||||
understand why this is, but it seemed to cure the problems I had.
|
|
||||||
|
|
||||||
<LI> Note that if you use a different release of Tcl and Tk than the ones
|
|
||||||
I have used you may have to adapt the Python <code>tkresources.rsrc</code> file.
|
I have used you may have to adapt the Python <code>tkresources.rsrc</code> file.
|
||||||
This is easiest done by building <code>SimpleTk</code> and copying the TEXT, ICON
|
This is easiest done by building <code>SimpleTk</code> and copying the TEXT, ICON
|
||||||
and CRSR resources from it to <code>tkresources.rsrc</code>. This allows
|
and CRSR resources from it to <code>tkresources.rsrc</code>. This allows
|
||||||
the <code>_tkinter</code> module to work without an installed Tk/Tcl on your
|
the <code>_tkinter</code> module to work without an installed Tk/Tcl on your
|
||||||
machine.
|
machine. <P>
|
||||||
|
|
||||||
|
Also note that the <code>_tkinter.ppc.slb</code> that is normally distributed
|
||||||
|
in the <code>PlugIns</code> folder is the one from the Imaging extension,
|
||||||
|
which has some extra features needed by PIL (and which features should not
|
||||||
|
hinder normal operation).
|
||||||
|
|
||||||
</UL>
|
</UL>
|
||||||
|
|
||||||
|
@ -455,6 +455,11 @@ also set (in the "binary files" section) "use mac encoding:
|
||||||
applesingle" and (in the "text files" section) "use ISO latin 1
|
applesingle" and (in the "text files" section) "use ISO latin 1
|
||||||
conversion". <p>
|
conversion". <p>
|
||||||
|
|
||||||
|
It is also a good idea to disable Quicktime Exchange in the Quicktime
|
||||||
|
control panel. Quicktime Exchange will magically map some extensions to
|
||||||
|
filetypes, and this can seriously hinder you if, for instance, <code>.bmp</code>
|
||||||
|
is not a Windows bitmap file. <p>
|
||||||
|
|
||||||
The machine-independent Python sources are checked out from the main
|
The machine-independent Python sources are checked out from the main
|
||||||
Python CVS archive, see the <a
|
Python CVS archive, see the <a
|
||||||
href="http://www.python.org/download/cvs.html">Source access via
|
href="http://www.python.org/download/cvs.html">Source access via
|
||||||
|
|
Loading…
Reference in New Issue