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
1670f94a
Commit
1670f94a
authored
Nov 20, 2002
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build PythonLauncher for MacPython-OSX 2.2 as well.
parent
89a9b2bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
5 deletions
+28
-5
Mac/OSX/Makefile
Mac/OSX/Makefile
+4
-2
Mac/OSX/Makefile.jaguar
Mac/OSX/Makefile.jaguar
+24
-3
No files found.
Mac/OSX/Makefile
View file @
1670f94a
...
@@ -11,7 +11,8 @@ LIBDEST=$(prefix)/lib/python$(VERSION)
...
@@ -11,7 +11,8 @@ LIBDEST=$(prefix)/lib/python$(VERSION)
# These are normally glimpsed from the previous set
# These are normally glimpsed from the previous set
bindir
=
$(dstroot)
/usr/local/bin
bindir
=
$(dstroot)
/usr/local/bin
PYTHONAPPSDIR
=
$(dstroot)
/Applications/Python
PYTHONAPPSPATH
=
/Applications/Python
PYTHONAPPSDIR
=
$(dstroot)$(PYTHONAPPSPATH)
APPINSTALLDIR
=
$(prefix)
/Resources/Python.app
APPINSTALLDIR
=
$(prefix)
/Resources/Python.app
PTHFILE
=
$(srcdir)
/Mac/OSX/Mac.pth
PTHFILE
=
$(srcdir)
/Mac/OSX/Mac.pth
...
@@ -50,7 +51,8 @@ installapps: install_PythonLauncher install_Python install_BuildApplet install_I
...
@@ -50,7 +51,8 @@ installapps: install_PythonLauncher install_Python install_BuildApplet install_I
install_PythonLauncher
:
install_PythonLauncher
:
cd
$(srcdir)
/Mac/OSX/PythonLauncher/PythonLauncher.pbproj
;
\
cd
$(srcdir)
/Mac/OSX/PythonLauncher/PythonLauncher.pbproj
;
\
pbxbuild
-target
PythonLauncher
-buildstyle
Deployment
DSTROOT
=
$(dstroot)
install
pbxbuild
-target
PythonLauncher
-buildstyle
Deployment
\
DSTROOT
=
$(dstroot)
INSTALL_PATH
=
$(PYTHONAPPSPATH)
install
install_Python
:
$(PYTHON)
install_Python
:
$(PYTHON)
@
for
i
in
$(PYTHONAPPSDIR)
$(APPINSTALLDIR)
$(APPINSTALLDIR)
/Contents
;
do
\
@
for
i
in
$(PYTHONAPPSDIR)
$(APPINSTALLDIR)
$(APPINSTALLDIR)
/Contents
;
do
\
...
...
Mac/OSX/Makefile.jaguar
View file @
1670f94a
...
@@ -6,7 +6,8 @@ VERSION=2.2
...
@@ -6,7 +6,8 @@ VERSION=2.2
builddir
=
../..
builddir
=
../..
srcdir
=
../..
srcdir
=
../..
dstroot
=
/.
dstroot
=
/.
PYTHONAPPSDIR
=
$(dstroot)
/Applications/MacPython-OSX
PYTHONAPPSPATH
=
/Applications/MacPython-OSX
PYTHONAPPSDIR
=
$(dstroot)$(PYTHONAPPSPATH)
prefix
=
/usr
prefix
=
/usr
# These are normally computed form the previous ones
# These are normally computed form the previous ones
...
@@ -29,9 +30,20 @@ INSTALL_PROGRAM=${INSTALL}
...
@@ -29,9 +30,20 @@ INSTALL_PROGRAM=${INSTALL}
INSTALL_SCRIPT
=
${INSTALL_PROGRAM}
INSTALL_SCRIPT
=
${INSTALL_PROGRAM}
INSTALL_DATA
=
${INSTALL}
-m
644
INSTALL_DATA
=
${INSTALL}
-m
644
install
:
install_dirs install_dynlib install_lib
\
# These can be done as a normal user
install
:
preflight install_dirs install_dynlib install_lib
\
install_Python install_IDE install_IDLE install_BuildApplet
\
install_Python install_IDE install_IDLE install_BuildApplet
\
install_pythonw
install_PythonLauncher install_pythonw
preflight
:
@
if
test
!
-w
$(LIBDEST)
/site-packages
;
then
\
echo
Please make directory
$(LIBDEST)
/site-packages writeable
;
\
exit
1
;
\
fi
@
if
grep
"arch i386"
$(LIBDEST)
/config/Makefile
>
/dev/null
;
then
\
echo
Please edit
$(LIBDEST)
/config/Makefile, see README.JAGUAR
;
\
exit
1
;
\
fi
install_dirs
:
install_dirs
:
$(INSTALL)
-d
-m
$(DIRMODE)
$(PYTHONAPPSDIR)
$(INSTALL)
-d
-m
$(DIRMODE)
$(PYTHONAPPSDIR)
...
@@ -75,7 +87,16 @@ install_BuildApplet:
...
@@ -75,7 +87,16 @@ install_BuildApplet:
srcdir
=
$(srcdir)
INSTALLED_PYTHONW
=
$(INSTALLED_PYTHONW)
\
srcdir
=
$(srcdir)
INSTALLED_PYTHONW
=
$(INSTALLED_PYTHONW)
\
PYTHONAPPSDIR
=
$(PYTHONAPPSDIR)
PYTHONAPPSDIR
=
$(PYTHONAPPSDIR)
install_PythonLauncher
:
$(MAKE)
-f
$(osxdir)
/Makefile install_PythonLauncher
\
srcdir
=
$(srcdir)
dstroot
=
$(dstroot)
\
PYTHONAPPSPATH
=
$(PYTHONAPPSPATH)
install_pythonw
:
install_pythonw
:
@
if
test
!
-w
$(prefix)
/bin
;
then
\
echo
Cannot write to
$(prefix)
/bin, use
\"
sudo
make
-f
Makefile.jaguar install_pythonw
\"
;
\
exit
1
;
\
fi
echo
"#!/bin/sh"
>
pythonw.sh
echo
"#!/bin/sh"
>
pythonw.sh
echo
"exec
\"
$(INSTALLED_PYTHONW)
\"
\"\$
$@
\"
"
>>
pythonw.sh
echo
"exec
\"
$(INSTALLED_PYTHONW)
\"
\"\$
$@
\"
"
>>
pythonw.sh
$(INSTALL)
pythonw.sh
$(prefix)
/bin/pythonw
$(INSTALL)
pythonw.sh
$(prefix)
/bin/pythonw
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