Put Lib/lib-old back on to sys.path for module renames.

This commit is contained in:
Brett Cannon 2008-05-11 23:39:04 +00:00
parent 1fcaa77ac5
commit b61d801adb
3 changed files with 9 additions and 2 deletions

View File

@ -814,7 +814,9 @@ LIBSUBDIRS= lib-tk site-packages test test/output test/data \
lib2to3 lib2to3/fixes lib2to3/pgen2 \ lib2to3 lib2to3/fixes lib2to3/pgen2 \
ctypes ctypes/test ctypes/macholib idlelib idlelib/Icons \ ctypes ctypes/test ctypes/macholib idlelib idlelib/Icons \
distutils distutils/command distutils/tests $(XMLLIBSUBDIRS) \ distutils distutils/command distutils/tests $(XMLLIBSUBDIRS) \
setuptools setuptools/command setuptools/tests setuptools.egg-info \ setuptools setuptools/command setuptools/tests \
setuptools.egg-info \
lib-old \
curses $(MACHDEPS) curses $(MACHDEPS)
libinstall: build_all $(srcdir)/Lib/$(PLATDIR) libinstall: build_all $(srcdir)/Lib/$(PLATDIR)
@for i in $(SCRIPTDIR) $(LIBDEST); \ @for i in $(SCRIPTDIR) $(LIBDEST); \

View File

@ -76,6 +76,8 @@ Library
Build Build
----- -----
- ``Lib/lib-old`` is now added to sys.path.
What's New in Python 2.6 alpha 3? What's New in Python 2.6 alpha 3?
================================= =================================

View File

@ -98,7 +98,10 @@ EXTRAMACHDEPPATH=
# The TKPATH variable is always enabled, to save you the effort. # The TKPATH variable is always enabled, to save you the effort.
TKPATH=:lib-tk TKPATH=:lib-tk
COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(EXTRAMACHDEPPATH)$(TKPATH) # Path component for old modules.
OLDPATH=:lib-old
COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(EXTRAMACHDEPPATH)$(TKPATH)$(OLDPATH)
PYTHONPATH=$(COREPYTHONPATH) PYTHONPATH=$(COREPYTHONPATH)