Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
2f9a9e3c
Kaydet (Commit)
2f9a9e3c
authored
Şub 17, 2001
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
2.1a2 distribution files.
üst
6f5a4efc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
166 additions
and
90 deletions
+166
-90
Python 2.1.vct
Mac/Distributions/(vise)/Python 2.1.vct
+0
-0
binary.exclude
Mac/Distributions/binary.exclude
+3
-0
binary.include
Mac/Distributions/binary.include
+70
-9
dev.include
Mac/Distributions/dev.include
+0
-0
readme.txt
Mac/Distributions/readme.txt
+8
-9
macbuildno.h
Mac/Include/macbuildno.h
+1
-1
ReadMe
Mac/ReadMe
+35
-31
Relnotes
Mac/Relnotes
+49
-40
No files found.
Mac/Distributions/(vise)/Python 2.1.vct
Dosyayı görüntüle @
2f9a9e3c
This diff is collapsed.
Click to expand it.
Mac/Distributions/binary.exclude
Dosyayı görüntüle @
2f9a9e3c
...
...
@@ -30,3 +30,6 @@ CVS
Makefile*
Setup.in
[(]*[)]
*.mcp
*.mcp.exp
*.mcp.xml
Mac/Distributions/binary.include
Dosyayı görüntüle @
2f9a9e3c
...
...
@@ -18,16 +18,14 @@
(':Extensions:Imaging', '')
(':Extensions:Imaging:Tk', None)
(':Extensions:Imaging:libImaging', None)
(':Extensions:Numerical', '')
(':Extensions:Numerical:Mac', None)
(':Extensions:Numerical:Src', None)
(':Extensions:Pmw', None)
(':Extensions:PyDOM', None)
(':Extensions:PyOpenGL-1.5.6a2', None)
(':Extensions:PyXML-0.6.2', None)
(':Extensions:README', None)
(':Extensions:README.TOO', None)
(':Extensions:audio', None)
(':Extensions:img:Lib', '')
(':Extensions:img:Mac', '')
(':Extensions:img:README.img', '')
(':Extensions:img:doc', None)
(':Extensions:img:test', '')
...
...
@@ -83,6 +81,7 @@
(':Mac:Contrib:BBPy:PythonSlave.py', '')
(':Mac:Contrib:BBPy:README', '')
(':Mac:Contrib:BBPy:Run as Python', '')
(':Mac:Contrib:BBPy:Run as Python.sit', None)
(':Mac:Contrib:BBPy:source', None)
(':Mac:Contrib:ImageHelpers', '')
(':Mac:Contrib:PythonDetector', '')
...
...
@@ -97,6 +96,7 @@
(':Mac:Contrib:morefindertools', '')
(':Mac:Contrib:osam:OSAm.exp', None)
(':Mac:Contrib:osam:OSAm.ppc.slb', '')
(':Mac:Contrib:osam:OSAm.ppc.slb.sit', None)
(':Mac:Contrib:strptime:strptime.py', '')
(':Mac:Demo', '')
(':Mac:Distributions', None)
...
...
@@ -124,6 +124,7 @@
(':Mac:Tools:bruce', None)
(':Mac:Tools:macfreeze', '')
(':Mac:Unsupported', None)
(':Mac:Wastemods:readme.txt', None)
(':Mac:_checkversion.py', '')
(':Mac:mwerks', None)
(':Mac:scripts', '')
...
...
@@ -178,8 +179,68 @@
(':pystone.py', None)
(':setup.py', None)
(':site-packages', None)
(':Extensions:PyXML-0.6.2', None)
(':Extensions:PyOpenGL-1.5.6a2', None)
(':Mac:Wastemods:readme.txt', None)
(':Mac:Contrib:osam:OSAm.ppc.slb.sit', None)
(':Mac:Contrib:BBPy:Run as Python.sit', None)
(':Extensions:img:Mac:genimgprojects.py', None)
(':Extensions:img:Mac:imgcolormap.carbon.slb', '')
(':Extensions:img:Mac:imgcolormap.ppc.slb', '')
(':Extensions:img:Mac:imgformat.carbon.slb', '')
(':Extensions:img:Mac:imgformat.ppc.slb', '')
(':Extensions:img:Mac:imggif.carbon.slb', '')
(':Extensions:img:Mac:imggif.ppc.slb', '')
(':Extensions:img:Mac:imgjpeg.carbon.slb', '')
(':Extensions:img:Mac:imgjpeg.ppc.slb', '')
(':Extensions:img:Mac:imgop.carbon.slb', '')
(':Extensions:img:Mac:imgop.ppc.slb', '')
(':Extensions:img:Mac:imgpbm.carbon.slb', '')
(':Extensions:img:Mac:imgpbm.ppc.slb', '')
(':Extensions:img:Mac:imgpgm.carbon.slb', '')
(':Extensions:img:Mac:imgpgm.ppc.slb', '')
(':Extensions:img:Mac:imgpng.carbon.slb', '')
(':Extensions:img:Mac:imgpng.ppc.slb', '')
(':Extensions:img:Mac:imgppm.carbon.slb', '')
(':Extensions:img:Mac:imgppm.ppc.slb', '')
(':Extensions:img:Mac:imgsgi.carbon.slb', '')
(':Extensions:img:Mac:imgsgi.ppc.slb', '')
(':Extensions:img:Mac:imgtiff.carbon.slb', '')
(':Extensions:img:Mac:imgtiff.ppc.slb', '')
(':Extensions:Numerical:Legal.htm', '')
(':Extensions:Numerical:DEVELOPERS', '')
(':Extensions:Numerical:MANIFEST', '')
(':Extensions:Numerical:README', '')
(':Extensions:Numerical:setup_all.py', None)
(':Extensions:Numerical:setup.py', None)
(':Extensions:Numerical:build', None)
(':Extensions:Numerical:Demo', '')
(':Extensions:Numerical:Lib', '')
(':Extensions:Numerical:Mac', None)
(':Extensions:Numerical:Packages:FFT:setup.py', None)
(':Extensions:Numerical:Packages:FFT:build', None)
(':Extensions:Numerical:Packages:FFT:Lib', '')
(':Extensions:Numerical:Packages:FFT:Mac:Icon\r', None)
(':Extensions:Numerical:Packages:LALITE:build', None)
(':Extensions:Numerical:Packages:LALITE:Lib', '')
(':Extensions:Numerical:Packages:FFT:Src:fftpack.def', None)
(':Extensions:Numerical:Packages:LALITE:Mac:Icon\r', None)
(':Extensions:Numerical:Packages:MA:build', None)
(':Extensions:Numerical:Packages:LALITE:Src:lapack_lite.def', None)
(':Extensions:Numerical:Packages:LALITE:setup.py', None)
(':Extensions:Numerical:Packages:LALITE:README', '')
(':Extensions:Numerical:Packages:MA:Legal.htm', '')
(':Extensions:Numerical:Packages:MA:setup.py', None)
(':Extensions:Numerical:Packages:MA:Demo', '')
(':Extensions:Numerical:Packages:MA:Lib', '')
(':Extensions:Numerical:Packages:RANLIB:build', None)
(':Extensions:Numerical:Packages:MA:Test:test.py', '')
(':Extensions:Numerical:Packages:RANLIB:setup.py', None)
(':Extensions:Numerical:Packages:RANLIB:Lib', '')
(':Extensions:Numerical:Packages:RANLIB:Mac:Icon\r', None)
(':Extensions:Numerical:Packages:RANLIB:Src:ranlib.def', None)
(':Extensions:Numerical:Packages:RNG:Legal.htm', '')
(':Extensions:Numerical:Packages:RNG:README', '')
(':Extensions:Numerical:Packages:RNG:setup.py', None)
(':Extensions:Numerical:Packages:RNG:build', None)
(':Extensions:Numerical:Packages:RANLIB:README', '')
(':Extensions:Numerical:Packages:RNG:Lib', '')
(':Extensions:Numerical:Packages:RNG:Mac:Icon\r', None)
(':Extensions:Numerical:Packages:RNG:Test', '')
(':Extensions:Numerical:Src', None)
(':Extensions:Numerical:Test', '')
Mac/Distributions/dev.include
Dosyayı görüntüle @
2f9a9e3c
This diff is collapsed.
Click to expand it.
Mac/Distributions/readme.txt
Dosyayı görüntüle @
2f9a9e3c
How to make a Python-distribution.
----------------------------------
These notes are mainly for myself.
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.1a2.
- Increase fragment version number in PythonCore
PPC and PythonCoreCFM68K
- Increase version number in STR resource (preffilename) and VERS resourc
e
- Update about box
- Increase fragment version number in PythonCore
and PythonCoreCarbon.
the fragment number is Python's sys.hexversion, it should be set in th
e
"PEF" preferences.
- Increase version number in _versioncheck.py
- Build PythonStandSmall, run once in root folder
- Update Relnotes, readme's, Demo:build.html
...
...
@@ -14,9 +15,7 @@ These notes are mainly for myself.
- Run configurepython
- set "no console" on all applets
- remove alis resource from all applets
- mkdistr
- remove stdwin, cwilib demos
- mkdistr binary.include
- mkdistr dev.include
- make distribution archive with Installer Vise
- test on virgin system. Make sure to test tkinter too.
- make distribution archive
- binhextree, synctree
- update version number on the net
Mac/Include/macbuildno.h
Dosyayı görüntüle @
2f9a9e3c
#define BUILD
71
#define BUILD
80
Mac/ReadMe
Dosyayı görüntüle @
2f9a9e3c
How
to
install
Python
2.0
on
your
Macintosh
-------------------------------------------
How
to
install
Python
2.1
a2
on
your
Macintosh
---------------------------------------------
Note
that
this
is
really
an
alpha
:
it
is
only
lightly
tested
and
contains
a
lot
of
new
code
.
Moreover
,
this
release
is
Carbon
only
,
so
it
will
run
on
MacOS
8.6
or
later
and
MacOS
X
.
The
next
alpha
will
again
run
in
"classic MacOS"
(
8.0
or
later
).
I
'm hoping for a fairly quick alpha cycle, with about 3 distributions in quick
succession, so please give feedback (to pythonmac-sig@python.org) as soon as
possible. You should definitely include the full version number of you MacOS
and the full version string of your MacPython.
Whether PIL, Tk and Numeric work in this release is a complete guess.
You should definitely read the Relnotes file too.
------
If this is your first encounter with Python: you definitely need the
common user documentation (common to all platforms). You can find this
...
...
@@ -17,17 +33,13 @@ Caveats
This is a final candidate version, so use with caution, and please report
problems as soon as possible, to pythonmac-sig@python.org.
Aside
from
the
general
new
Python
2.0
features
(
compared
to
1.5.2
,
there
was
no
1.6
for
the
macintosh
)
like
unicode
support
the
main
new
features
of
this
MacPython
release
is
support
for
multithreading
.
This
has
had
some
preliminary
testing
,
but
please
report
any
success
or
failure
on
the
mailing
list
.
Aside from the general new Python 2.1 features compared to 2.0 the main
feature of this release is Carbon support.
This
installer
installs
MacPython
for
PowerPC
only
,
if
you
really
want
68
k
support
you
will
have
to
stay
with
1.5.2
.
Or
,
if
you
are
willing
to
invest
the
time
and
have
access
to
CodeWarrior
you
are
welcome
to
try
and
build
a
68
k
distribution
,
most
of
the
projects
and
sources
are
reasonably
up
to
date
(
May
2000
).
Contact
me
for
details
.
This installer installs MacPython for Carbon only. If you have a machine
running 8.5 or earlier you should wait for the next alfa and sitck with 2.0.
If you want
68k support you will have to stay with 1.5.2.
This version of Python expects a recent version of Appearance, so it may
be that users with pre MacOS 8.5 systems have trouble running it. If
...
...
@@ -41,9 +53,7 @@ What to install
This installer is PPC only: too many new MacOS features are not
available on 68K, and doing workarounds, even just #ifdeffing in the
code, is too much work for me right now. If someone wants to revive
68
K
-
MacPython
:
please
do
so
.
The
project
files
still
contain
the
68
K
targets
(
they
're simply skipped by the build process) so all that is
needed is CodeWarrior, a source distribution and commitment.
68K-MacPython: please do so.
The optional parts in this distribution are
- TK+PIL: Tkinter and support modules, plus Imaging, the Python image manipulation
...
...
@@ -59,13 +69,11 @@ All these except the DevKit are installed with Easy Install.
After the installer finishes it automatically launches the
ConfigurePython applet, to finish configuration of your Python.
If you have previously installed another copy of 2.0 you should manually
remove your preference file first (but no such action is needed for installing
beside older MacPythons, and they will live together happily).
Moving your Python installation after installing is generally not a good idea.
If you have to do this anyway you should remove your preference file, run
ConfigurePython and remove all .pyc files.
ConfigurePython and remove all .pyc files. (there'
s
a
script
zappyc
.
py
that
does
the
latter
).
If
you
don
't have enough memory: the sizes choosen are somewhat
arbitrary, and they are as high as they are so that test.autotest runs with fewer
...
...
@@ -79,8 +87,9 @@ After installing
It is probably a good idea to run the automatic tests. Start
Python and "import test.autotest".
Three
tests
will
fail
on
the
mac
,
all
with
MemoryErrors
:
test_sha
,
test_longexp
and
test_zlib
.
If
you
increase
the
PythonInterpreter
memory
Three tests will fail on MacOS9, all with MemoryErrors: test_gzip, test_sha,
test_longexp and test_zlib (on MacOSX nothing should fail).
If you increase the PythonInterpreter memory
partition size they will pass. 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,
...
...
@@ -101,8 +110,8 @@ Uninstalling
------------
Two
items
are
installed
in
the
system
folder
:
the
interpreter
shared
librar
y "PythonCore 2.0"
lives in the Extensions folder and the
"Python 2.
0
Preferences" file in the Python subfolder in the
librar
ies
PythonCore
and
PythonCoreCarbon
lives
in
the
Extensions
folder
and
the
"Python 2.
1a2
Preferences"
file
in
the
Python
subfolder
in
the
Preferences
folder
.
All
the
rest
of
Python
lives
in
the
folder
you
installed
in
.
...
...
@@ -137,15 +146,15 @@ software.
Upgrading
from
older
Python
releases
------------------------------------
Since release 1.4
Python releases are independent of each other, with
Python
releases
are
independent
of
each
other
,
with
separate
Preferences
files
,
shared
library
names
,
etc
.
The
good
news
is
that
this
means
you
can
keep
your
older
version
around
if
you
are
unsure
whether
to
upgrade
.
The
bad
news
is
that
your
old
preference
settings
are
lost
and
you
have
to
set
them
again
.
After you are satisfied that 2.
0
works as expected you can trash
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.
0
".
"2.
1
"
.
The
installer
-------------
...
...
@@ -188,11 +197,6 @@ Send bug reports, suggestions, contributions and fanmail to
<
pythonmac
-
sig
@
python
.
org
>
mailing
list
,
which
is
explicitly
meant
for
this
purpose
.
Alternatively, you can try sending to comp.lang.python or
python-list@cwi.nl, but since I read the newsgroup, not the mailinglist,
I may miss it there (but other people may know quite a bit more than me
anyway:-).
Jack
Jansen
Oratrix
Development
BV
Valeriusplein
30
...
...
Mac/Relnotes
Dosyayı görüntüle @
2f9a9e3c
Changes in 2.
0 since 1.5.2
Changes in 2.
1a2 since 2.0
--------------------------
These release notes refer to Mac-specific changes only. See NEWS (in the Misc folder)
...
...
@@ -8,52 +8,58 @@ Unfortunately I have messed my administration up, so I can't give complete
Mac-specific release notes for the changes in this release. So, I will
have to leave it at the highlights:
- 68K support has been dropped, this release is PPC only.
- Threads support (through standard Python threads module).
- Tkinter works again! At least: it doesn't immedeately crash in obvious ways.
- Appearance support through App module and added calls in many other modules.
Most dialogs and applets have also been converted to Appearance. There's also a
ControlAccessor module that handles [GS]etControlData with their plethora of
argument types.
- Navigation Services support, with macfs StandardFile calls transparently
replaced by their NavServices counterparts.
- Offscreen QuickDraw and GWorld support through Qdoffs module.
- Drag manager support (Drag module).
- Much better CGI support and examples, see :Mac:Tools:CGI.
- Better OSA/AppleEvent support.
- Up/downcasting of handle-based types is now unified and implemented in the
inherting module, e.g.
handleobj = ctlobj.as_Resource()
ctlobj = Ctl.as_Control(handle)
- Added macos.FreeMem(), MaxBlock() and CompactMem(), mainly so apps in Python can
give low-memory warnings.
- MediaDescr module parses some QuickTime media descriptions (but definitely not all).
- A new method EasyDialogs.GetArgv() which makes it easy for the end-user to provide
unix-style sys.argv arguments. (new since 2.0b1)
- There's a new package, mkcwproject, that creates and builds CodeWarrior
projects. (new since 2.0b1)
- The "keep console open" options are now always, never, on error and on
unseen output. The latter is the new default. There is also a call
MacOS.KeepConsole() which allows programs to override the behaviour, and
a call MacOS.OutputSeen() which acknowledges all output until now.
(new since 2.0b1)
- Missing Numeric modules are included. They may not be on sys.path, however. (new since 2.0b1)
- gdbm works again. (new since 2.0b1)
- Command-. and threads don't bite each other as badly anymore. (new since 2.0c1)
- InstallPython will optionally copy PythonCore in stead of creating an alias, when
needed. (new since 2.0c1)
- All bugs reported to the pythonmac-sig in the 2.0c1 period have been fixed.
- The good news: this release is Carbon-based, so it runs natively on MacOS 8.6 or
later and MacOSX.
- The bad news: this release is Carbon-only. The next alpha release will be both
Carbon and classic PPC.
- Distutils is included and seems to work.
- 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.
- 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.
THIS IS AN INCOMPATIBLE CHANGE.
- ctl.GetControlDataHandle() has been renamed to GetControlData_Handle(), and similarly
for the other variants of GetControlData and SetControlData. This was needed
because Carbon defines a completely different routine with the name GetControlDataHandle.
THIS IS AN INCOMPATIBLE CHANGE.
- Method mac.xstat() has disappeared. THIS IS AN INCOMPATIBLE CHANGE.
- Menu.SetPopupData() and GetPopupData() are gone. Use SetPopupMenuHandle() and
SetPopupMenuID() (and the getters) in stead. THIS IS AN INCOMPATIBLE CHANGE.
- Various methods have disappeared when running under Carbon. The script
:Mac:scripts:missingcarbonmethods.py can check your sources, but you need unix to run
it. Or use it as documentation and search by hand. THIS IS AN INCOMPATIBLE CHANGE.
- The good news is that "direct access to toolbox structs" still works from Python,
so Python programmers have a lot less to fix than C programmers.
That's because the lowlevel code simply uses the accessors internally. The accessors
are available both in Carbon and Classic MacPython.
- Scrap under Carbon is, you guessed it, the Carbon Scrap Manager. Some workarounds are
provided, though. THIS IS AN INCOMPATIBLE CHANGE.
- The Internet Config routines that are missing from Carbon have been removed. This
is no problem if you use the "ic" module, but may be if you use "icglue" directly.
THIS IS AN INCOMPATIBLE CHANGE.
- Various old toolbox names (CountMItems, EnableItem, etc) have disappeared. Use the
new forms (CountMenuItems, EnableMenuItem, etc). THIS IS AN INCOMPATIBLE CHANGE.
- Waste now uses Waste 2.0.
- The default memory size for the interpreter has been upped again.
- The MacOS error messages have been updated to reflect the current state of
things. This was long overdue.
- The crash in BuildApplication has been fixed.
- struct.pack related problems (in Audio_Mac, for example) have been fixed.
- (src/dev/cvs only): The project files now use the .mcp extension in stead of .prj.
Projects for almost all plugins and the img modules are automatically generated
with :Mac:scripts:genpluginprojects.py (also called by fullbuild). The .mcp files
are not in the repository, if you don't want to use genpluginprojects you can import
the .mcp.xml files in CodeWarrior.
What is not in this distribution
--------------------------------
- The garbage collection mods
to 2.0
have not been enabled, mainly due to lack of test-time.
- The garbage collection mods have not been enabled, mainly due to lack of test-time.
- Stackless Python/microthreads hasn't been ported to 2.0 yet. If/when it becomes available
Just will undoubtedly announce it on pythonmac-sig and the MacPython homepage.
- Carbon support is not in here, but should be happening as soon as GUSI is ready.
- Distutils is incomplete for the Mac, unfortunately. A newer version should be available
soon and will be announced on pythonmac-sig and the MacPython homepage.
Known problems
--------------
...
...
@@ -63,3 +69,6 @@ http://www.cwi.nl/~jack/macpython.html.
- The IDE and Tkinter do not work together. Run tkinter programs under PythonInterpreter.
- Aliases do not work in sys.path entries.
- The menu bar isn't always correctly restored before MacPython turns to <<terminated>>.
- Under Carbon only you may occasionally see a spurious KeyboardInterrupt. I have absolutely
no clue as to what is causing this.
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