diff --git a/Makefile.pre.in b/Makefile.pre.in index dff1252999c..f6ecacf307a 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -888,6 +888,8 @@ bininstall: altbininstall (cd $(DESTDIR)$(BINDIR); $(LN) -s pydoc$(VERSION) pydoc3) -rm -f $(DESTDIR)$(BINDIR)/2to3 (cd $(DESTDIR)$(BINDIR); $(LN) -s 2to3-$(VERSION) 2to3) + -rm -f $(DESTDIR)$(BINDIR)/pysetup3 + (cd $(DESTDIR)$(BINDIR); $(LN) -s pysetup$(VERSION) pysetup3) # Install the manual page maninstall: diff --git a/setup.py b/setup.py index 9d46425b6d1..fa42191fcca 100644 --- a/setup.py +++ b/setup.py @@ -1889,7 +1889,7 @@ def main(): # check the PyBuildScripts command above, and change the links # created by the bininstall target in Makefile.pre.in scripts = ["Tools/scripts/pydoc3", "Tools/scripts/idle3", - "Tools/scripts/2to3"] + "Tools/scripts/2to3", "Tools/scripts/pysetup3"] ) # --install-platlib