Skip to content

Commit e20bc30

Browse files
author
benjamin.peterson
committed
remove the fullinstall target since py3k will always be known as python3 #6047
git-svn-id: http://svn.python.org/projects/python/branches/py3k@72857 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 07758e6 commit e20bc30

3 files changed

Lines changed: 12 additions & 26 deletions

File tree

Makefile.pre.in

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -754,18 +754,8 @@ memtest: all platform
754754
-$(TESTPYTHON) $(TESTPROG) $(MEMTESTOPTS)
755755
$(TESTPYTHON) $(TESTPROG) $(MEMTESTOPTS)
756756

757-
# Install everything, and install Python 3 to "python"
758-
fullinstall: @FRAMEWORKINSTALLFIRST@ altinstall bininstall @FRAMEWORKINSTALLLAST@
759-
760-
# "make install" is an alias for "make altinstall" since we don't want to
761-
# overwrite Python 2.x by default.
762-
install: altinstall
763-
@echo "* Note: not installed as 'python'."
764-
@echo "* Use 'make fullinstall' to install as 'python'."
765-
@echo "* However, 'make fullinstall' is discouraged,"
766-
@echo "* as it will clobber your Python 2.x installation."
767-
768-
# Install almost everything without disturbing 2.x versions
757+
install: altinstall bininstall
758+
769759
altinstall: @FRAMEWORKALTINSTALLFIRST@ altbininstall libinstall inclinstall libainstall \
770760
sharedinstall oldsharedinstall maninstall @FRAMEWORKALTINSTALLLAST@
771761

@@ -790,20 +780,9 @@ $(DESTSHARED):
790780
fi; \
791781
done
792782

793-
794-
# Install the interpreter (by creating a hard link to python$(VERSION))
795-
bininstall: altbininstall
796-
-if test -f $(DESTDIR)$(BINDIR)/$(PYTHON)$(EXE) -o -h $(DESTDIR)$(BINDIR)/$(PYTHON)$(EXE); \
797-
then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON)$(EXE); \
798-
else true; \
799-
fi
800-
(cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON)$(EXE))
801-
-rm -f $(DESTDIR)$(BINDIR)/python-config
802-
(cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python-config)
803-
804783
# Install the interpreter with $(VERSION) affixed
805784
# This goes into $(exec_prefix)
806-
altbininstall: $(BUILDPYTHON)
785+
altbininstall: $(BUILDPYTHON)
807786
@for i in $(BINDIR) $(LIBDIR); \
808787
do \
809788
if test ! -d $(DESTDIR)$$i; then \
@@ -824,6 +803,8 @@ altbininstall: $(BUILDPYTHON)
824803
fi; \
825804
else true; \
826805
fi
806+
807+
bininstall: altbininstall
827808
-if test -f $(DESTDIR)$(BINDIR)/$(PYTHON)3$(EXE) -o -h $(DESTDIR)$(BINDIR)/$(PYTHON)3$(EXE); \
828809
then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON)3$(EXE); \
829810
else true; \

Misc/NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ Library
6060
- Issue 5955: aifc's close method did not close the file it wrapped,
6161
now it does. This also means getfp method now returns the real fp.
6262

63+
Installation
64+
------------
65+
66+
- Issue #6047: fullinstall has been removed because Python 3's executable will
67+
now be known as python3.
6368

6469
Extension Modules
6570
-----------------

README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ script) you must take care that your primary python executable is not
119119
overwritten by the installation of a different versio. All files and
120120
directories installed using "make altinstall" contain the major and minor
121121
version and can thus live side-by-side. "make install" also creates
122-
${prefix}/bin/python which refers to ${prefix}/bin/pythonX.Y. If you intend
122+
${prefix}/bin/python3 which refers to ${prefix}/bin/pythonX.Y. If you intend
123123
to install multiple versions using the same prefix you must decide which
124124
version (if any) is your "primary" version. Install that version using
125125
"make install". Install all other versions using "make altinstall".
@@ -167,7 +167,7 @@ On Unix, Linux, BSD, OSX, and Cygwin:
167167
./configure
168168
make
169169
make test
170-
sudo make install # or "make altinstall"
170+
sudo make install
171171

172172
You can pass many options to the configure script; run "./configure
173173
--help" to find out more. On OSX and Cygwin, the executable is called

0 commit comments

Comments
 (0)