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
9a1383e3
Commit
9a1383e3
authored
Jan 10, 2011
by
Ned Deily
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#10820: Fix OS X framework installs to support version-specific
scripts (implemented in #10679).
parent
dc004a3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
23 deletions
+4
-23
Mac/Makefile.in
Mac/Makefile.in
+1
-23
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Mac/Makefile.in
View file @
9a1383e3
...
...
@@ -47,8 +47,7 @@ APPSUBDIRS=MacOS Resources
compileall
=
$(srcdir)
/../Lib/compileall.py
installapps
:
install_Python install_pythonw install_PythonLauncher install_IDLE
\
checkapplepython install_versionedtools
checkapplepython
install_pythonw
:
pythonw
$(INSTALL_PROGRAM)
$(STRIPFLAG)
pythonw
"
$(DESTDIR)$(prefix)
/bin/pythonw
$(VERSION)
"
...
...
@@ -92,27 +91,6 @@ altinstallunixtools:
ln
-fs
"
$(prefix)
/bin/
$
${fn}
"
"
$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)
/bin/
$
${fn}
"
;
\
done
# By default most tools are installed without a version in their basename, to
# make it easier to install (and use) several python versions side-by-side move
# the tools to a version-specific name and add the non-versioned name as an
# alias.
install_versionedtools
:
for
fn
in
idle pydoc
;
\
do
\
if
[
-h
"
$(DESTDIR)$(prefix)
/bin/
$
${fn}
3"
]
;
then
\
continue
;
\
fi
;
\
mv
"
$(DESTDIR)$(prefix)
/bin/
$
${fn}
3"
"
$(DESTDIR)$(prefix)
/bin/
$
${fn}$(VERSION)
"
;
\
ln
-sf
"
$
${fn}$(VERSION)
"
"
$(DESTDIR)$(prefix)
/bin/
$
${fn}
3"
;
\
done
mv
"
$(DESTDIR)$(prefix)
/bin/2to3"
"
$(DESTDIR)$(prefix)
/bin/2to3-
$(VERSION)
"
ln
-sf
"2to3-
$(VERSION)
"
"
$(DESTDIR)$(prefix)
/bin/2to3"
if
[
!
-h
"
$(DESTDIR)$(prefix)
/bin/python3-config"
]
;
then
\
mv
"
$(DESTDIR)$(prefix)
/bin/python3-config"
"
$(DESTDIR)$(prefix)
/bin/python
$(VERSION)
-config"
;
\
ln
-sf
"python
$(VERSION)
-config"
"
$(DESTDIR)$(prefix)
/bin/python3-config"
;
\
fi
pythonw
:
$(srcdir)/Tools/pythonw.c Makefile
$(CC)
$(LDFLAGS)
-DPYTHONFRAMEWORK
=
'"
$(PYTHONFRAMEWORK)
"'
-o
$@
$(srcdir)
/Tools/pythonw.c
-I
..
-I
$(srcdir)
/../Include ../
$(PYTHONFRAMEWORK)
.framework/Versions/
$(VERSION)
/
$(PYTHONFRAMEWORK)
...
...
Misc/NEWS
View file @
9a1383e3
...
...
@@ -189,6 +189,9 @@ C-API
Build
-----
- Issue #10820: Fix OS X framework installs to support version-specific
scripts (#10679).
- Issue #7716: Under Solaris, don't assume existence of /usr/xpg4/bin/grep in
the configure script but use $GREP instead. Patch by Fabian Groffen.
...
...
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