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
4a2784dd
Kaydet (Commit)
4a2784dd
authored
Ock 02, 2005
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Getting things in place for the MacPython additions build 3.
üst
d7f377d5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
21 deletions
+53
-21
build.panther
Mac/OSX/Dist/build.panther
+23
-0
ReadMe.txt
Mac/OSX/Dist/resources.panther/ReadMe.txt
+7
-2
Makefile.panther
Mac/OSX/Makefile.panther
+23
-19
No files found.
Mac/OSX/Dist/build.panther
Dosyayı görüntüle @
4a2784dd
...
...
@@ -24,6 +24,11 @@ if [ ! -e /usr/bin/python ]; then
echo
"No /usr/bin/python; this script expects to be run on 10.3 only"
exit
1
fi
vers
=
`
/usr/bin/python
-V
2>&1
`
if
[
"
$vers
"
!=
"Python 2.3"
]
;
then
echo
"/usr/bin/python is not version 2.3; this script expects to be run on 10.3 only"
exit
1
fi
TMPDIR
=
/tmp/_py
#TMPDIR=/projects/_py
...
...
@@ -62,11 +67,29 @@ ln -s $INSTALLROOT/Library/Python/$PYVER $INSTALLROOT/System/Library/Frameworks/
pushd
$PYTHONOSXDIR
# Check that the Apple Python 2.3 Makefile fixes have been applied on this
# machine
if
python fixapplepython23.py
-n
;
then
:
else
echo
echo
The additions installer will also
install
a fix to Apple-installed 2.3
echo
to make building extensions work
in
the face of other Pythons.
echo
But this system needs to have that fix to be able to put it
in
the installer.
echo
echo
Please run
$PYTHONOSXDIR
/fixapplepython23.py to
install
the fix.
exit
fi
make
-f
Makefile.panther
DIRMODE
=
775
EXEMODE
=
775
FILEMODE
=
664
DESTDIR
=
$INSTALLROOT
# Remove the temporary symlink
rm
-r
$INSTALLROOT
/System
# Install the Makefile fixes
config
=
System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/config
(
cd
/
;
tar
cf -
$config
/Makefile
$config
/PantherPythonFix
)
|
(
cd
$INSTALLROOT
;
tar
xf -
)
# Unfortunately all the ...MODE arguments above still don't do the trick.
# Cop out, and recursively set everything group-writeable.
chmod
-R
ug+w
$INSTALLROOT
...
...
Mac/OSX/Dist/resources.panther/ReadMe.txt
Dosyayı görüntüle @
4a2784dd
This package will install the third build of
This package will install
beta 1 of
the third build of
the MacPython 2.3 additions for Mac OS X 10.3.
Installation requires approximately 3.3 MB of disk
...
...
@@ -34,6 +34,11 @@ Changes since the second build:
- fixed "run with commandline python" to use pythonw.
- fixed a crash with very big scripts folders.
- fixed the double-scroll problem when you single-clicked.
- Python fixes:
- One fix is made to the Apple-installed Python itself.
As distributed the installation of a newer Python would
cause Apple python to have problems building extensions,
this is fixed.
Changes since the first build:
- The startup crash of the IDE some people experienced
...
...
@@ -43,6 +48,6 @@ Changes since the first build:
through the Package Manager.
More information on MacPython can be found at
http://www.cwi.nl/~jack/macpython
.html
, more
http://www.cwi.nl/~jack/macpython, more
information on Python in general at
http://www.python.org.
Mac/OSX/Makefile.panther
Dosyayı görüntüle @
4a2784dd
...
...
@@ -2,27 +2,30 @@
# It installs the things that are available in MacPython but that are
# ommitted from Apple's installation of Python 2.3.
#
all
:
install_waste install_IDE install_PackageManager
install_IDLE
\
all
:
install_waste install_IDE install_PackageManager
\
install_BuildApplet installextras install_PythonLauncher install_pimpupdate
srcdir
=
../..
VERSION
=
2.3
DESTDIR
=
PYTHONAPPSDIR
=
/Applications/MacPython-
$(VERSION)
APPLE_prefix
=
/System/Library/Frameworks/Python.framework/Versions/
$(VERSION)
APPLE_
PYTHON
=
/usr/bin/python
$(VERSION)
BUILD
PYTHON
=
/usr/bin/python
$(VERSION)
APPLE_LIBDEST
=
$(APPLE_prefix)
/lib/python
$(VERSION)
APPLE
_PYTHONW
=
$(APPLE_prefix)
/Resources/Python.app/Contents/MacOS/Python
INSTALLED
_PYTHONW
=
$(APPLE_prefix)
/Resources/Python.app/Contents/MacOS/Python
APPLE_PYTHONLAUNCHER
=
$(APPLE_prefix)
/Resources/PythonLauncher.app
bundlebuilder
=
$(srcdir)
/Lib/plat-mac/bundlebuilder.py
install_waste
:
$(
APPLE_
PYTHON)
setup.panther.py
install
\
$(
BUILD
PYTHON)
setup.panther.py
install
\
--prefix
=
$(APPLE_prefix)
--root
=
/
$(DESTDIR)
install_IDE
:
$(MAKE)
-f
Makefile install_IDE
\
BUILDPYTHON
=
$(APPLE_PYTHON)
INSTALLED_PYTHONW
=
$(APPLE_PYTHONW)
\
DESTDIR
=
$(DESTDIR)
PYTHONAPPSDIR
=
$(PYTHONAPPSDIR)
$(BUILDPYTHON)
$(srcdir)
/Mac/scripts/BuildApplet.py
\
--python
$(INSTALLED_PYTHONW)
\
--output
$(DESTDIR)$(PYTHONAPPSDIR)
/PythonIDE.app
--noargv
\
$(srcdir)
/Mac/Tools/IDE/PythonIDE.py
# Add the extra files to the resources. This is to work around bugs in
# them in the original 2.3.
cp
../Tools/IDE/PythonIDEMain.py
$(DESTDIR)$(PYTHONAPPSDIR)
/PythonIDE.app/Contents/Resources
...
...
@@ -31,23 +34,24 @@ install_IDE:
cp
../Tools/IDE/PyEdit.py
$(DESTDIR)$(PYTHONAPPSDIR)
/PythonIDE.app/Contents/Resources
install_PackageManager
:
$(
MAKE)
-f
Makefile install_PackageManager
\
BUILDPYTHON
=
$(APPLE_PYTHON)
INSTALLED_PYTHONW
=
$(APPLE_PYTHONW)
\
DESTDIR
=
$(DESTDIR)
PYTHONAPPSDIR
=
$(PYTHONAPPSDIR)
install_IDLE
:
$(MAKE)
-f
Makefile install_IDLE
\
BUILDPYTHON
=
$(APPLE_PYTHON)
INSTALLED_PYTHONW
=
$(APPLE_PYTHONW)
\
DESTDIR
=
$(DESTDIR)
PYTHONAPPSDIR
=
$(PYTHONAPPSDIR)
$(
BUILDPYTHON)
$(bundlebuilder)
\
--builddir
$(DESTDIR)$(PYTHONAPPSDIR)
/
\
--python
$(INSTALLED_PYTHONW)
\
--resource
$(srcdir)
/Mac/Tools/IDE/PythonIDE.rsrc
\
--mainprogram
$(srcdir)
/Mac/Tools/IDE/PackageManager.py
\
--iconfile
$(srcdir)
/Mac/Tools/IDE/PackageManager.icns
\
--plist
$(srcdir)
/Mac/Tools/IDE/PackageManager.plist
\
--creator
Pimp build
install_BuildApplet
:
$(MAKE)
-f
Makefile install_BuildApplet
\
BUILDPYTHON
=
$(APPLE_PYTHON)
INSTALLED_PYTHONW
=
$(APPLE_PYTHONW)
\
DESTDIR
=
$(DESTDIR)
PYTHONAPPSDIR
=
$(PYTHONAPPSDIR)
$(BUILDPYTHON)
$(srcdir)
/Mac/scripts/BuildApplet.py
\
--python
$(INSTALLED_PYTHONW)
\
--output
$(DESTDIR)$(PYTHONAPPSDIR)
/BuildApplet.app
\
$(srcdir)
/Mac/scripts/BuildApplet.py
installextras
:
$(MAKE)
-f
Makefile installextras
\
BUILDPYTHON
=
$(
APPLE_PYTHON)
INSTALLED_PYTHONW
=
$(APPLE
_PYTHONW)
\
BUILDPYTHON
=
$(
BUILDPYTHON)
INSTALLED_PYTHONW
=
$(INSTALLED
_PYTHONW)
\
DESTDIR
=
$(DESTDIR)
PYTHONAPPSDIR
=
$(PYTHONAPPSDIR)
install_PythonLauncher
:
...
...
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