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
857e88ea
Kaydet (Commit)
857e88ea
authored
Mar 20, 1996
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Updated to reflect new situation, added a warning on fmmodule.c
üst
ac0a21ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
35 deletions
+41
-35
Relnotes-source
Mac/Relnotes-source
+41
-35
No files found.
Mac/Relnotes-source
Dosyayı görüntüle @
857e88ea
...
@@ -5,10 +5,10 @@ You will need a Python source distribution in tar form. So, the
...
@@ -5,10 +5,10 @@ You will need a Python source distribution in tar form. So, the
first thing you need is a tar program for the mac. Suntar is
first thing you need is a tar program for the mac. Suntar is
reasonable and can be found at the info-mac sites. Edit the
reasonable and can be found at the info-mac sites. Edit the
preferences to make it extract C sources with creator CWIE
preferences to make it extract C sources with creator CWIE
and .py files as text files with creator P
YTH
, this will save
and .py files as text files with creator P
yth
, this will save
you work later.
you work later.
You will also need CodeWarrior
7
. If you have another development
You will also need CodeWarrior
8
. If you have another development
environment you are on your own, basically.
environment you are on your own, basically.
You may also need the img distribution and the stdwin distribution.
You may also need the img distribution and the stdwin distribution.
...
@@ -16,9 +16,12 @@ If you don't want them you may have to edit some of the projects
...
@@ -16,9 +16,12 @@ If you don't want them you may have to edit some of the projects
to remove references to them.
to remove references to them.
When you've extracted everything you may have to unpack the
When you've extracted everything you may have to unpack the
.hqx files in Mac:Resources and Mac:
M
werks:Projects (but suntar
.hqx files in Mac:Resources and Mac:
m
werks:Projects (but suntar
may have done this for you already).
may have done this for you already).
You have to remove Modules:fmmodule.c, the SGI fm module, which has a
name conflict with the Mac Fmmodule.c.
Next, create your build directories. I use the following naming
Next, create your build directories. I use the following naming
convention:
convention:
build.macppc.shared PowerPC shared-library
build.macppc.shared PowerPC shared-library
...
@@ -28,48 +31,51 @@ may be useful at times. The project files expect the build directories
...
@@ -28,48 +31,51 @@ may be useful at times. The project files expect the build directories
to be located right in the main python folder, if you put them elsewhere
to be located right in the main python folder, if you put them elsewhere
you will have to edit the access paths.
you will have to edit the access paths.
Move MWC
RuntimePython.µ, PythonCore.µ, PythonPPC.µ and PythonApplet.µ
Move MWC
PythonCoreRuntime.µ, PythonCore.µ, PythonPPC.µ and
(from the Mac:Mwerks:Projects folder) to build.macppc.shared, move
PythonApplet.µ (from the Mac:mwerks:projects folder) to
Python68K.µ to build.mac68k.stand.
build.macppc.shared, move
Python68K.µ to build.mac68k.stand.
Build the projects. For the PPC projects, keep the order given above.
Build the projects. For the PPC projects, keep the order given above.
Do *not* run the python interpreter yet. First, move the interpreter to
Do *not* run the python interpreter yet. First, move the interpreter
the main python folder. For PPC, also move PythonCore to the main python folder.
to the main python folder. For PPC, also move PythonCore to the main
python folder.
Now try your python interpreter, this will create an initial preferences file.
Now try your python interpreter, this will create an initial
preferences file.
For 68K python you are now done.
For 68K python you are now done.
For PPC Python, don't try complicated scripts yet, you first have to
create
For PPC Python, don't try complicated scripts yet, you first have to
the dynamically loadable modules. Create a folder PlugIns (in the toplevel
create the dynamically loadable modules. Create a folder PlugIns (in
python folder) and move all the projects that have "module" or "modules" in
the toplevel python folder) and move all the projects that have
their name there. Build these projects. This will create a number of ".exp"
"module" or "modules" in their name there. Build these projects. This
files, edit these files to contain only all the "init" modules, and build
will create a number of ".exp" files, edit these files to contain only
the projects again. This latter step isn't really essential, so feel free
all the "init" modules, and build the projects again. This latter step
to skip it.
isn't really essential, so feel free
to skip it.
The next step is to create aliases for the various modules that "live
together"
The next step is to create aliases for the various modules that "live
in one shared library. For this, take MkPluginAliases.py and MkPluginAliases.rsrc
together" in one shared library. For this, take MkPluginAliases.py and
from the Mac:scripts folder and move or copy them to the python home folder.
MkPluginAliases.rsrc from the Mac:scripts folder and move or copy them
Run the script from there.
to the python home folder.
Run the script from there.
If you haven't created all plugins you'll get some errors about files
not existing,
If you haven't created all plugins you'll get some errors about files
don't worry. Don't forget to move the scripts back.
not existing,
don't worry. Don't forget to move the scripts back.
Next, make an alias of PythonCore (also named PythonCore) and put it
in
Next, make an alias of PythonCore (also named PythonCore) and put it
System Folder:Extensions. This will ensure that you can run python anywhere,
in System Folder:Extensions. This will ensure that you can run python
not just from the folder where PythonCore lives.
anywhere,
not just from the folder where PythonCore lives.
Most of your environment is now setup. You can try it by running
EditPythonPrefs.py
Most of your environment is now setup. You can try it by running
(in Mac:scripts), it should now work from there.
EditPythonPrefs.py
(in Mac:scripts), it should now work from there.
Lastly, you should setup some stuff needed for applet creation. First, you should put
Lastly, you should setup some stuff needed for applet creation. First,
PythonApplet (or an alias to it) in the python home folder. Next, you should turn
you should put PythonApplet (or an alias to it) in the python home
mkapplet.py (from mac:scripts) into an applet itself: double-click it and give it itself
folder. Next, you should turn mkapplet.py (from mac:scripts) into an
as input in the input file dialog.
applet itself: double-click it and give it itself as input in the
input file dialog.
Now that you have created mkapplet you can use this as a droplet:
drag-and-drop python sources
Now that you have created mkapplet you can use this as a droplet:
onto it (EditPythonPrefs.py and RunLibScript.py come to mind) and the applets will be
drag-and-drop python sources onto it (EditPythonPrefs.py and
created.
RunLibScript.py come to mind) and the applets will be
created.
Jack Jansen, CWI,
20 December 1995
.
Jack Jansen, CWI,
18 March 1996
.
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