From: Martin v. Löwis Date: Sat, 22 Mar 2008 00:02:41 +0000 (+0000) Subject: Install lib2to3. X-Git-Tag: v2.6a2~176 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e838dd88df53b47acf5e817c8ec375d430ca056;p=python Install lib2to3. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index 4edc784087..f6934a9f91 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -780,6 +780,7 @@ LIBSUBDIRS= lib-tk site-packages test test/output test/data \ email email/mime email/test email/test/data \ sqlite3 sqlite3/test \ logging bsddb bsddb/test csv wsgiref \ + lib2to3 lib2to3/fixes lib2to3/pgen2 \ ctypes ctypes/test ctypes/macholib idlelib idlelib/Icons \ distutils distutils/command distutils/tests $(XMLLIBSUBDIRS) \ setuptools setuptools/command setuptools/tests setuptools.egg-info \ @@ -856,6 +857,8 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR) ./$(BUILDPYTHON) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \ -d $(LIBDEST)/site-packages -f \ -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages + -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ + ./$(BUILDPYTHON) -Wi -t -c "import lib2to3.pygram" # Create the PLATDIR source directory, if one wasn't distributed.. $(srcdir)/Lib/$(PLATDIR):