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:
Jack Jansen 2003-01-28 21:45:44 +00:00
parent 28827e2406
commit 50abec8fc4

View file

@ -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