mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Install "python$(VERSION)" into /usr/local as the symlink to the framework,
and also create a symlink "python" pointing to "python$(VERSION)". Fixes #675745.
This commit is contained in:
parent
28827e2406
commit
50abec8fc4
1 changed files with 4 additions and 2 deletions
|
@ -205,7 +205,9 @@ $(APPINSTALLDIR)/Contents/MacOS/python: install_Python
|
|||
|
||||
installunixtools: $(INSTALLED_PYTHON) $(INSTALLED_PYTHONW)
|
||||
$(INSTALL) -d $(bindir)
|
||||
$(INSTALL_SYMLINK) $(INSTALLED_PYTHON) $(bindir)/python
|
||||
$(INSTALL_SYMLINK) $(INSTALLED_PYTHON) $(bindir)/python$(VERSION)
|
||||
$(INSTALL_SYMLINK) python$(VERSION) $(bindir)/python
|
||||
echo "#!/bin/sh" > pythonw.sh
|
||||
echo "exec \"$(INSTALLED_PYTHONW)\" \"\$$@\"" >> pythonw.sh
|
||||
$(INSTALL) pythonw.sh $(bindir)/pythonw
|
||||
$(INSTALL) pythonw.sh $(bindir)/pythonw$(VERSION)
|
||||
$(INSTALL_SYMLINK) pythonw$(VERSION) $(bindir)/pythonw
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue