Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cbe7b1c

Browse files
committed
Files for 2.1b1 distribution.
1 parent 81e4b1c commit cbe7b1c

2 files changed

Lines changed: 34 additions & 40 deletions

File tree

Mac/ReadMe

Lines changed: 22 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
1-
How to install Python 2.1a3 on your Macintosh
1+
How to install Python 2.1b1 on your Macintosh
22
---------------------------------------------
33

4-
Note that this is really an alpha: it is only lightly tested and contains a lot
5-
of new code. Moreover, this release is Carbon only, so it will run on MacOS 8.1
6-
or later and MacOS X. The next alpha will again run in "classic MacOS" (8.0 or
7-
later). For MacOS 8.1 through 8.6 you will have to install CarbonLib (version 1.0.4
8-
or later) yourself from the Apple website.
9-
10-
I'm hoping for a fairly quick alpha cycle, with about 3 distributions in quick
11-
succession, so please give feedback (to [email protected]) as soon as
12-
possible. You should definitely include the full version number of you MacOS
13-
and the full version string of your MacPython.
14-
15-
Whether PIL, Tk and Numeric work in this release is a complete guess.
4+
This is the first beta for a MacPython that can run on classic MacOS (from 8.1
5+
onwards) and natively on MacOSX. The installer tries to work out whether you can
6+
use the Carbon version or not. This is also the first MacPython distribution
7+
to be packaged as an active installer, which only downloads the parts you actually
8+
need. Let me hear about problems in these areas.
169

1710
You should definitely read the Relnotes file too.
1811

@@ -31,45 +24,38 @@ now. The documentation is in HTML format, start with index.html.
3124

3225
Caveats
3326
-------
34-
This is a final candidate version, so use with caution, and please report
35-
problems as soon as possible, to [email protected].
36-
3727
Aside from the general new Python 2.1 features compared to 2.0 the main
3828
feature of this release is Carbon support.
3929

40-
This installer installs MacPython for Carbon only. If you have a machine
41-
running 8.5 or earlier you should wait for the next alfa and sitck with 2.0.
42-
If you want
43-
68k support you will have to stay with 1.5.2.
30+
This installer installs MacPython for classic PPC MacOS, MacPython for Carbon
31+
(OS X, OS 9 or OS8 with CarbonLib installed) or both, depending on your
32+
configuration. By selecting custom install you can bypass these tests and
33+
install what you want.
4434

45-
This version of Python expects a recent version of Appearance, so it may
46-
be that users with pre MacOS 8.5 systems have trouble running it. If
47-
that is the case try getting CarbonLib from Apple, I am told this
48-
includes Appearance and NavServices. You may also have to disable the
49-
"Use navservices" preference for best results.
35+
If you want 68k support you will have to stay with 1.5.2.
5036

5137
What to install
5238
---------------
5339

54-
This installer is PPC only: too many new MacOS features are not
55-
available on 68K, and doing workarounds, even just #ifdeffing in the
56-
code, is too much work for me right now. If someone wants to revive
57-
68K-MacPython: please do so.
58-
5940
The optional parts in this distribution are
6041
- TK+PIL: Tkinter and support modules, plus Imaging, the Python image manipulation
6142
package (allows you to read, write and display images and do lots of operations on them).
43+
For Carbon MacPython you only get PIL: there is no Tcl/Tk for Carbon yet.
6244
- img: another imaging package. Has more file format support and is faster
6345
than imaging, but has only limited operations on images. There is a bridge
6446
between the packages.
6547
- Numeric: the LLNL Numeric Python extension. All sorts of nifty operations
6648
on matrices and such. This is the most recent version from the sourceforge archive.
49+
Numeric has moved from Extensions to :Lib:site-python, by the way, see the release
50+
notes.
6751
- Developers kit: all header files and some tools and sample projects to get you started on
6852
writing Python extensions if you have CodeWarrior.
6953
All these except the DevKit are installed with Easy Install.
7054

71-
After the installer finishes it automatically launches the
72-
ConfigurePython applet, to finish configuration of your Python.
55+
After the installer finishes it automatically launches the appropriate
56+
ConfigurePython applet, to finish configuration of your Python. If you run MacOS9
57+
(or 8 with CarbonLib installed) you can switch back and forth between the classic and
58+
Carbon versions of Python by running either ConfigurePythonClassic or ConfigurePythonCarbon.
7359

7460
Moving your Python installation after installing is generally not a good idea.
7561
If you have to do this anyway you should remove your preference file, run
@@ -88,10 +74,11 @@ After installing
8874
It is probably a good idea to run the automatic tests. Start
8975
Python and "import test.autotest".
9076

91-
Three tests will fail on MacOS9, all with MemoryErrors: test_gzip, test_sha,
77+
Three tests will fail on MacOS9, all with MemoryErrors: test_sha,
9278
test_longexp and test_zlib (on MacOSX nothing should fail).
9379
If you increase the PythonInterpreter memory
94-
partition size they will pass. It will, however, print some messages
80+
partition size they will pass (but for longexp you have to increas it by an
81+
incredible amount). It will, however, print some messages
9582
about optional features not supported. You should not worry about these,
9683
they are modules that are supported by Python on other platforms. Also,
9784
if you didn't run compileall before autotesting you may run out of
@@ -112,7 +99,7 @@ Uninstalling
11299

113100
Two items are installed in the system folder: the interpreter shared
114101
libraries PythonCore and PythonCoreCarbon lives in the Extensions folder and the
115-
"Python 2.1a3 Preferences" file in the Python subfolder in the
102+
"Python 2.1b1 Preferences" file in the Python subfolder in the
116103
Preferences folder. All the rest of Python lives in the folder you
117104
installed in.
118105

Mac/Relnotes

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
Changes in 2.1a3 since 2.0
1+
Changes in 2.1b1 since 2.0
22
--------------------------
33

44
These release notes refer to Mac-specific changes only. See NEWS (in the Misc folder)
55
for machine-independent changes. Changes since previous alfa/beta releases for 2.1 are
6-
marked with [*] and at the bottom of the list. Note that 2.1a3 is a Mac-only release.
7-
The machine-independent stuff is at a state somewhere between 2.1a2 and 2.1b1.
6+
marked with [*] and at the bottom of the list.
87

98
- The good news: this release is Carbon-based, so it runs natively on MacOS 8.6 or
109
later and MacOSX.
11-
- The bad news: this release is Carbon-only. The next alpha release will be both
12-
Carbon and classic PPC.
10+
- Alternatively there is a classic PPC interpreter as well. There are two reasons you
11+
might want to use this: (a) you have a pre-MacOS9 system and don't want to install
12+
CarbonLib, or (b) you need Tkinter, for which no Carbon version is available yet.
1313
- Distutils is included and seems to work.
1414
- There's a new module (package, actually) mkcwproject which builds CodeWarrior
1515
projects from simple templates. See Distutils or :Mac:scripts:genpluginprojects.py
@@ -60,6 +60,13 @@ The machine-independent stuff is at a state somewhere between 2.1a2 and 2.1b1.
6060
favor of re. Code not fully tested. [*]
6161
- IDE could crash on some edit operations due to WEGetUndoInfo(). Fixed. [*]
6262
- time.time() again returns positive values. [*]
63+
- Classic PPC is included again. [*]
64+
- Numeric is included again. It is now built using distutils, and lives in :Lib:site-python.
65+
This makes it a lot easier to replace Numeric with a new version (when one comes out). [*]
66+
- PIL is included again. [*]
67+
- PythonInterpreterCarbon and PythonInterpreterClassic are now files of type "Atmp", not
68+
"APPL", so there should not be any confusion as to what the real application is
69+
(PythonInterpreter). [*]
6370

6471

6572
What is not in this distribution

0 commit comments

Comments
 (0)