[Python-checkins] cpython: promoted pysetup3 to a top-level script

tarek.ziade python-checkins at python.org
Tue May 31 08:32:06 CEST 2011


http://hg.python.org/cpython/rev/b018e154d955
changeset:   70545:b018e154d955
user:        Tarek Ziade <tarek at ziade.org>
date:        Tue May 31 08:31:50 2011 +0200
summary:
  promoted pysetup3 to a top-level script

files:
  Makefile.pre.in |  2 ++
  setup.py        |  2 +-
  2 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -888,6 +888,8 @@
 	(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
--- a/setup.py
+++ b/setup.py
@@ -1889,7 +1889,7 @@
           # 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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list