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
3112bc10
Kaydet (Commit)
3112bc10
authored
Şub 14, 2001
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Also create alias to PythonCoreCarbon.
Got rid of lots of 68k stuff.
üst
26ce8fb3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
71 deletions
+2
-71
ConfigurePython.py
Mac/scripts/ConfigurePython.py
+2
-71
No files found.
Mac/scripts/ConfigurePython.py
Dosyayı görüntüle @
3112bc10
...
...
@@ -23,48 +23,6 @@ ALERT_NONBOOT_COPY=1
ALERT_NONBOOT_ALIAS
=
2
ppc_goals
=
[
## ("AE.ppc.slb", "toolboxmodules.ppc.slb"),
## ("Ctl.ppc.slb", "toolboxmodules.ppc.slb"),
## ("Dlg.ppc.slb", "toolboxmodules.ppc.slb"),
## ("Evt.ppc.slb", "toolboxmodules.ppc.slb"),
## ("Fm.ppc.slb", "toolboxmodules.ppc.slb"),
## ("Help.ppc.slb", "toolboxmodules.ppc.slb"),
## ("Icn.ppc.slb", "toolboxmodules.ppc.slb"),
## ("Menu.ppc.slb", "toolboxmodules.ppc.slb"),
## ("List.ppc.slb", "toolboxmodules.ppc.slb"),
## ("Qd.ppc.slb", "toolboxmodules.ppc.slb"),
## ("Res.ppc.slb", "toolboxmodules.ppc.slb"),
## ("Scrap.ppc.slb", "toolboxmodules.ppc.slb"),
## ("Snd.ppc.slb", "toolboxmodules.ppc.slb"),
## ("Sndihooks.ppc.slb", "toolboxmodules.ppc.slb"),
## ("TE.ppc.slb", "toolboxmodules.ppc.slb"),
## ("Win.ppc.slb", "toolboxmodules.ppc.slb"),
##
## ("Cm.ppc.slb", "qtmodules.ppc.slb"),
## ("Qt.ppc.slb", "qtmodules.ppc.slb"),
]
cfm68k_goals
=
[
## ("AE.CFM68K.slb", "toolboxmodules.CFM68K.slb"),
## ("Ctl.CFM68K.slb", "toolboxmodules.CFM68K.slb"),
## ("Dlg.CFM68K.slb", "toolboxmodules.CFM68K.slb"),
## ("Evt.CFM68K.slb", "toolboxmodules.CFM68K.slb"),
## ("Fm.CFM68K.slb", "toolboxmodules.CFM68K.slb"),
## ("Help.CFM68K.slb", "toolboxmodules.CFM68K.slb"),
## ("Icn.CFM68K.slb", "toolboxmodules.CFM68K.slb"),
## ("Menu.CFM68K.slb", "toolboxmodules.CFM68K.slb"),
## ("List.CFM68K.slb", "toolboxmodules.CFM68K.slb"),
## ("Qd.CFM68K.slb", "toolboxmodules.CFM68K.slb"),
## ("Res.CFM68K.slb", "toolboxmodules.CFM68K.slb"),
## ("Scrap.CFM68K.slb", "toolboxmodules.CFM68K.slb"),
## ("Snd.CFM68K.slb", "toolboxmodules.CFM68K.slb"),
## ("Sndihooks.CFM68K.slb", "toolboxmodules.CFM68K.slb"),
## ("TE.CFM68K.slb", "toolboxmodules.CFM68K.slb"),
## ("Win.CFM68K.slb", "toolboxmodules.CFM68K.slb"),
##
## ("Cm.CFM68K.slb", "qtmodules.CFM68K.slb"),
## ("Qt.CFM68K.slb", "qtmodules.CFM68K.slb"),
]
def
gotopluginfolder
():
...
...
@@ -87,18 +45,7 @@ def loadtoolboxmodules():
if
verbose
:
print
'imported Res the standard way.'
return
# We cannot import it. First attempt to load the cfm68k version
import
imp
try
:
dummy
=
imp
.
load_dynamic
(
'Res'
,
'toolboxmodules.CFM68K.slb'
)
except
ImportError
,
arg
:
err2
=
arg
pass
else
:
if
verbose
:
print
'Loaded Res from toolboxmodules.CFM68K.slb.'
return
# Ok, try the ppc version
# We cannot import it. Try a manual load
try
:
dummy
=
imp
.
load_dynamic
(
'Res'
,
'toolboxmodules.ppc.slb'
)
except
ImportError
,
arg
:
...
...
@@ -112,7 +59,6 @@ def loadtoolboxmodules():
print
"I cannot import the Res module, nor load it from either of"
print
"toolboxmodules shared libraries. The errors encountered were:"
print
"import Res:"
,
err1
print
"load from toolboxmodules.CFM68K.slb:"
,
err2
print
"load from toolboxmodules.ppc.slb:"
,
err3
sys
.
exit
(
1
)
...
...
@@ -196,27 +142,12 @@ def main():
if
verbose
:
print
'*'
,
dst
,
'not created:'
,
src
,
'not found'
if
verbose
:
print
# Create the CFM68K aliases.
didsplash
=
0
if
verbose
:
print
'Creating CFM68K aliases...'
for
dst
,
src
in
cfm68k_goals
:
if
src
in
LibFiles
:
if
not
didsplash
:
MacOS
.
splash
(
SPLASH_CFM68K
)
didsplash
=
1
macostools
.
mkalias
(
src
,
dst
)
if
verbose
:
print
' '
,
dst
,
'->'
,
src
else
:
if
verbose
:
print
'*'
,
dst
,
'not created:'
,
src
,
'not found'
if
verbose
:
print
# Create the PythonCore alias(es)
if
verbose
:
print
'Creating PythonCore aliases in Extensions folder...'
os
.
chdir
(
'::'
)
n
=
0
n
=
n
+
mkcorealias
(
'PythonCore'
,
'PythonCore'
)
n
=
n
+
mkcorealias
(
'PythonCorePPC'
,
':build.macppc.shared:PythonCorePPC'
)
n
=
n
+
mkcorealias
(
'PythonCoreCFM68K'
,
':build.mac68k.shared:PythonCoreCFM68K'
)
n
=
n
+
mkcorealias
(
'PythonCoreCarbon'
,
'PythonCoreCarbon'
)
if
verbose
and
n
==
0
:
sys
.
exit
(
1
)
...
...
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