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

Skip to content

Commit 2b73fe9

Browse files
committed
Updated for 2.1b2 distribution.
1 parent 764dad5 commit 2b73fe9

10 files changed

Lines changed: 51 additions & 16 deletions

File tree

Mac/Build/PythonInterpreter.mcp

0 Bytes
Binary file not shown.

Mac/Build/PythonStandSmall.mcp

0 Bytes
Binary file not shown.
-79.6 KB
Binary file not shown.

Mac/Distributions/(vise)/Python 2.1.vct

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

Mac/Distributions/dev.include

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@
424424
(':PythonStandSmallThreading', None)
425425
(':PythonStandalone', None)
426426
(':README', None)
427+
(':RISCOS', None)
427428
(':Tools:README', None)
428429
(':Tools:audiopy', None)
429430
(':Tools:bgen', '')
@@ -451,4 +452,6 @@
451452
(':readmefiles', None)
452453
(':setup.py', None)
453454
(':site-packages', None)
454-
(':RISCOS', None)
455+
(':Mac:Build:_dummy_tkinter.old.mcp', None)
456+
(':Mac:Build:_dummy_tkinter.mcp.exp', None)
457+
(':Mac:Build:_dummy_tkinter.mcp', None)

Mac/Distributions/readme.txt

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ How to make a Python-distribution.
22
----------------------------------
33

44
These notes are mainly for myself, or for whoever tries to make a MacPython
5-
distribution when I'm fed up with it. They were last updated for 2.1a2.
5+
distribution when I'm fed up with it. They were last updated for 2.1b2.
66

77
- Increase fragment version number in PythonCore and PythonCoreCarbon.
88
the fragment number is Python's sys.hexversion, it should be set in the
@@ -13,9 +13,27 @@ distribution when I'm fed up with it. They were last updated for 2.1a2.
1313
- Make sure tkresources.rsrc is up-to-date
1414
- fullbuild everything with increase-buildno
1515
- Run configurepython
16-
- set "no console" on all applets
17-
- remove alis resource from all applets
1816
- mkdistr binary.include
1917
- mkdistr dev.include
2018
- make distribution archive with Installer Vise
21-
- test on virgin system. Make sure to test tkinter too.
19+
Things to make sure of:
20+
- Finder icon positions
21+
- Version numbers in "Packages..." window
22+
- Version number in "Installer Settings" -> "Easy Install Text"
23+
- Version number in "Project" -> Attributes
24+
- Version number in "Project" -> PostProcess
25+
- Version number in "Internet" -> "Download Sites"
26+
- Version number in "Internet" -> "File Groups".
27+
- test on virgin systems (OSX, OS9, OS8 without Carbon). Make sure to test
28+
tkinter too.
29+
- Upload
30+
- Update README file in ftp directory
31+
- Change version number in public_html/macpythonversion.txt .
32+
- Update macpython.html
33+
- Send an announcement to:
34+
35+
36+
37+
38+
http://guide.apple.com/usindex.html
39+
http://www.versiontracker.com/ [email protected]

Mac/Include/macbuildno.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#define BUILD 87
1+
#define BUILD 90

Mac/ReadMe

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
How to install Python 2.1b1 on your Macintosh
1+
How to install Python 2.1b2 on your Macintosh
22
---------------------------------------------
33

4-
This is the first beta for a MacPython that can run on classic MacOS (from 8.1
4+
This is a beta MacPython that can run on classic MacOS (from 8.1
55
onwards) and natively on MacOSX. The installer tries to work out whether you can
66
use the Carbon version or not. This is also the first MacPython distribution
77
to be packaged as an active installer, which only downloads the parts you actually
@@ -10,7 +10,8 @@ need. Let me hear about problems in these areas.
1010
You should definitely read the Relnotes file too.
1111

1212
A special note about the active installer: do not background it, it will hang
13-
your machine.
13+
your machine. This is a general problem with Vise active installers, MindVision
14+
are working on it.
1415

1516
------
1617

@@ -35,7 +36,7 @@ This installer installs MacPython for classic PPC MacOS, MacPython for Carbon
3536
configuration. By selecting custom install you can bypass these tests and
3637
install what you want.
3738

38-
If you want 68k support you will have to stay with 1.5.2.
39+
If you want 68k support you will have to stay with MacPython 1.5.2.
3940

4041
What to install
4142
---------------
@@ -44,6 +45,8 @@ The optional parts in this distribution are
4445
- TK+PIL: Tkinter and support modules, plus Imaging, the Python image manipulation
4546
package (allows you to read, write and display images and do lots of operations on them).
4647
For Carbon MacPython you only get PIL: there is no Tcl/Tk for Carbon yet.
48+
This is the reason Classic MacPython is also installed on MacOSX: it allows you
49+
to run Tkinter applications, albeit in the MacOS9 box.
4750
- img: another imaging package. Has more file format support and is faster
4851
than imaging, but has only limited operations on images. There is a bridge
4952
between the packages.
@@ -56,7 +59,7 @@ The optional parts in this distribution are
5659
All these except the DevKit are installed with Easy Install.
5760

5861
After the installer finishes it automatically launches the appropriate
59-
ConfigurePython applet, to finish configuration of your Python. If you run MacOS9
62+
ConfigurePython applet, to finish configuration of your Python. If you run MacOS9 or later
6063
(or 8 with CarbonLib installed) you can switch back and forth between the classic and
6164
Carbon versions of Python by running either ConfigurePythonClassic or ConfigurePythonCarbon.
6265

@@ -77,10 +80,11 @@ After installing
7780
It is probably a good idea to run the automatic tests. Start
7881
Python and "import test.autotest".
7982

80-
Three tests will fail on MacOS9, all with MemoryErrors: test_sha,
83+
Two tests will fail on MacOS9, both with MemoryErrors:
8184
test_longexp and test_zlib (on MacOSX nothing should fail).
85+
8286
If you increase the PythonInterpreter memory
83-
partition size they will pass (but for longexp you have to increas it by an
87+
partition size they will pass (but for longexp you have to increase it by an
8488
incredible amount). It will, however, print some messages
8589
about optional features not supported. You should not worry about these,
8690
they are modules that are supported by Python on other platforms. Also,
@@ -147,6 +151,11 @@ After you are satisfied that 2.1 works as expected you can trash
147151
anything in the system folder that has "python" in the name and not
148152
"2.1".
149153

154+
As of 2.1 the ConfigurePython applets will try to detect incompatible preferences
155+
files and offer to remove them. This means that re-running ConfigurePython after
156+
a second install of the same MacPython version (or after moving the Python folder)
157+
should fix things up correctly.
158+
150159
The installer
151160
-------------
152161

Mac/Relnotes

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,19 @@ for machine-independent changes. Changes since 2.1b1 are
66
marked with [*] and at the bottom of the list.
77

88
- This release is Carbon-based, so it runs natively on MacOS 8.6 or
9-
later and MacOSX.
9+
later and MacOSX. (Note that on MacOSX MacPython will run as a normal Mac application,
10+
if you want to run Python from the BSD commandline get a unix-Python distribution
11+
from www.python.org).
1012
- Alternatively there is a classic PPC interpreter as well. There are two reasons you
1113
might want to use this: (a) you have a pre-MacOS9 system and don't want to install
1214
CarbonLib, or (b) you need Tkinter, for which no Carbon version is available yet.
1315
- Distutils is included and seems to work.
1416
- There's a new module (package, actually) mkcwproject which builds CodeWarrior
1517
projects from simple templates. See Distutils or :Mac:scripts:genpluginprojects.py
1618
for examples of use.
19+
- The Numerical extension has moved to :Lib:site-python from :Extensions. As Numerical
20+
is now distutils-based you can easily install newer versions when they become
21+
available.
1722
- Windows and Dialogs can now be different beasts, so you may have to call
1823
dlg.GetDialogWindow() where you used to be able to call window methods straight
1924
on the dialog. This also has consequences for code using FrameWork.DialogWindow.

Mac/_checkversion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import pyversioncheck
66

77
_PACKAGE="MacPython"
8-
_VERSION="2.0"
8+
_VERSION="2.1b2"
99
_URL="http://www.cwi.nl/~jack/macpythonversion.txt"
1010

1111
try:

0 commit comments

Comments
 (0)