Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
2b73fe99
Commit
2b73fe99
authored
Mar 27, 2001
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated for 2.1b2 distribution.
parent
764dad5b
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
51 additions
and
16 deletions
+51
-16
Mac/Build/PythonInterpreter.mcp
Mac/Build/PythonInterpreter.mcp
+0
-0
Mac/Build/PythonStandSmall.mcp
Mac/Build/PythonStandSmall.mcp
+0
-0
Mac/Distributions/(vise)/Python 2.0.vct
Mac/Distributions/(vise)/Python 2.0.vct
+0
-0
Mac/Distributions/(vise)/Python 2.1.vct
Mac/Distributions/(vise)/Python 2.1.vct
+1
-1
Mac/Distributions/dev.include
Mac/Distributions/dev.include
+4
-1
Mac/Distributions/readme.txt
Mac/Distributions/readme.txt
+22
-4
Mac/Include/macbuildno.h
Mac/Include/macbuildno.h
+1
-1
Mac/ReadMe
Mac/ReadMe
+16
-7
Mac/Relnotes
Mac/Relnotes
+6
-1
Mac/_checkversion.py
Mac/_checkversion.py
+1
-1
No files found.
Mac/Build/PythonInterpreter.mcp
View file @
2b73fe99
No preview for this file type
Mac/Build/PythonStandSmall.mcp
View file @
2b73fe99
No preview for this file type
Mac/Distributions/(vise)/Python 2.0.vct
View file @
2b73fe99
No preview for this file type
Mac/Distributions/(vise)/Python 2.1.vct
View file @
2b73fe99
This diff is collapsed.
Click to expand it.
Mac/Distributions/dev.include
View file @
2b73fe99
...
...
@@ -424,6 +424,7 @@
(':PythonStandSmallThreading', None)
(':PythonStandalone', None)
(':README', None)
(':RISCOS', None)
(':Tools:README', None)
(':Tools:audiopy', None)
(':Tools:bgen', '')
...
...
@@ -451,4 +452,6 @@
(':readmefiles', None)
(':setup.py', None)
(':site-packages', None)
(':RISCOS', None)
(':Mac:Build:_dummy_tkinter.old.mcp', None)
(':Mac:Build:_dummy_tkinter.mcp.exp', None)
(':Mac:Build:_dummy_tkinter.mcp', None)
Mac/Distributions/readme.txt
View file @
2b73fe99
...
...
@@ -2,7 +2,7 @@ How to make a Python-distribution.
----------------------------------
These notes are mainly for myself, or for whoever tries to make a MacPython
distribution when I'm fed up with it. They were last updated for 2.1
a
2.
distribution when I'm fed up with it. They were last updated for 2.1
b
2.
- Increase fragment version number in PythonCore and PythonCoreCarbon.
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.
- Make sure tkresources.rsrc is up-to-date
- fullbuild everything with increase-buildno
- Run configurepython
- set "no console" on all applets
- remove alis resource from all applets
- mkdistr binary.include
- mkdistr dev.include
- make distribution archive with Installer Vise
- test on virgin system. Make sure to test tkinter too.
Things to make sure of:
- Finder icon positions
- Version numbers in "Packages..." window
- Version number in "Installer Settings" -> "Easy Install Text"
- Version number in "Project" -> Attributes
- Version number in "Project" -> PostProcess
- Version number in "Internet" -> "Download Sites"
- Version number in "Internet" -> "File Groups".
- test on virgin systems (OSX, OS9, OS8 without Carbon). Make sure to test
tkinter too.
- Upload
- Update README file in ftp directory
- Change version number in public_html/macpythonversion.txt .
- Update macpython.html
- Send an announcement to:
pythonmac-sig@python.org
python-dev@python.org
python-announce@python.org
archivist@info-mac.org
http://guide.apple.com/usindex.html
http://www.versiontracker.com/ Jack.Jansen@oratrix.com
\ No newline at end of file
Mac/Include/macbuildno.h
View file @
2b73fe99
#define BUILD
87
#define BUILD
90
Mac/ReadMe
View file @
2b73fe99
How
to
install
Python
2.1
b
1
on
your
Macintosh
How
to
install
Python
2.1
b
2
on
your
Macintosh
---------------------------------------------
This
is
the
first
beta
for
a
MacPython
that
can
run
on
classic
MacOS
(
from
8.1
This
is
a
bet
a
MacPython
that
can
run
on
classic
MacOS
(
from
8.1
onwards
)
and
natively
on
MacOSX
.
The
installer
tries
to
work
out
whether
you
can
use
the
Carbon
version
or
not
.
This
is
also
the
first
MacPython
distribution
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.
You
should
definitely
read
the
Relnotes
file
too
.
A
special
note
about
the
active
installer
:
do
not
background
it
,
it
will
hang
your
machine
.
your
machine
.
This
is
a
general
problem
with
Vise
active
installers
,
MindVision
are
working
on
it
.
------
...
...
@@ -35,7 +36,7 @@ This installer installs MacPython for classic PPC MacOS, MacPython for Carbon
configuration
.
By
selecting
custom
install
you
can
bypass
these
tests
and
install
what
you
want
.
If
you
want
68
k
support
you
will
have
to
stay
with
1.5.2
.
If
you
want
68
k
support
you
will
have
to
stay
with
MacPython
1.5.2
.
What
to
install
---------------
...
...
@@ -44,6 +45,8 @@ The optional parts in this distribution are
-
TK
+
PIL
:
Tkinter
and
support
modules
,
plus
Imaging
,
the
Python
image
manipulation
package
(
allows
you
to
read
,
write
and
display
images
and
do
lots
of
operations
on
them
).
For
Carbon
MacPython
you
only
get
PIL
:
there
is
no
Tcl
/
Tk
for
Carbon
yet
.
This
is
the
reason
Classic
MacPython
is
also
installed
on
MacOSX
:
it
allows
you
to
run
Tkinter
applications
,
albeit
in
the
MacOS9
box
.
-
img
:
another
imaging
package
.
Has
more
file
format
support
and
is
faster
than
imaging
,
but
has
only
limited
operations
on
images
.
There
is
a
bridge
between
the
packages
.
...
...
@@ -56,7 +59,7 @@ The optional parts in this distribution are
All
these
except
the
DevKit
are
installed
with
Easy
Install
.
After
the
installer
finishes
it
automatically
launches
the
appropriate
ConfigurePython
applet
,
to
finish
configuration
of
your
Python
.
If
you
run
MacOS9
ConfigurePython
applet
,
to
finish
configuration
of
your
Python
.
If
you
run
MacOS9
or
later
(
or
8
with
CarbonLib
installed
)
you
can
switch
back
and
forth
between
the
classic
and
Carbon
versions
of
Python
by
running
either
ConfigurePythonClassic
or
ConfigurePythonCarbon
.
...
...
@@ -77,10 +80,11 @@ After installing
It
is
probably
a
good
idea
to
run
the
automatic
tests
.
Start
Python
and
"import test.autotest"
.
T
hree
tests
will
fail
on
MacOS9
,
all
with
MemoryErrors
:
test_sha
,
T
wo
tests
will
fail
on
MacOS9
,
both
with
MemoryErrors
:
test_longexp
and
test_zlib
(
on
MacOSX
nothing
should
fail
).
If
you
increase
the
PythonInterpreter
memory
partition
size
they
will
pass
(
but
for
longexp
you
have
to
increas
it
by
an
partition
size
they
will
pass
(
but
for
longexp
you
have
to
increas
e
it
by
an
incredible
amount
).
It
will
,
however
,
print
some
messages
about
optional
features
not
supported
.
You
should
not
worry
about
these
,
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
anything in the system folder that has "python" in the name and not
"2.1".
As of 2.1 the ConfigurePython applets will try to detect incompatible preferences
files and offer to remove them. This means that re-running ConfigurePython after
a second install of the same MacPython version (or after moving the Python folder)
should fix things up correctly.
The installer
-------------
...
...
Mac/Relnotes
View file @
2b73fe99
...
...
@@ -6,7 +6,9 @@ for machine-independent changes. Changes since 2.1b1 are
marked with [*] and at the bottom of the list.
- This release is Carbon-based, so it runs natively on MacOS 8.6 or
later and MacOSX.
later and MacOSX. (Note that on MacOSX MacPython will run as a normal Mac application,
if you want to run Python from the BSD commandline get a unix-Python distribution
from www.python.org).
- Alternatively there is a classic PPC interpreter as well. There are two reasons you
might want to use this: (a) you have a pre-MacOS9 system and don't want to install
CarbonLib, or (b) you need Tkinter, for which no Carbon version is available yet.
...
...
@@ -14,6 +16,9 @@ marked with [*] and at the bottom of the list.
- There's a new module (package, actually) mkcwproject which builds CodeWarrior
projects from simple templates. See Distutils or :Mac:scripts:genpluginprojects.py
for examples of use.
- The Numerical extension has moved to :Lib:site-python from :Extensions. As Numerical
is now distutils-based you can easily install newer versions when they become
available.
- Windows and Dialogs can now be different beasts, so you may have to call
dlg.GetDialogWindow() where you used to be able to call window methods straight
on the dialog. This also has consequences for code using FrameWork.DialogWindow.
...
...
Mac/_checkversion.py
View file @
2b73fe99
...
...
@@ -5,7 +5,7 @@ _checkversion.py file"""
import
pyversioncheck
_PACKAGE
=
"MacPython"
_VERSION
=
"2.
0
"
_VERSION
=
"2.
1b2
"
_URL
=
"http://www.cwi.nl/~jack/macpythonversion.txt"
try
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment