Commits

Joe Amenta committed 0fc297c

1.0 released
3to2 for Python 2.7 can now be built without installing 3to2 for Python 3.1.

  • Participants
  • Parent commits 7496fdd

Comments (0)

Files changed (2)

 	\) -exec rm -fv {} \;
 
 python2: clean
+	cp -r lib3to2 lib3to2_replace
+	python3.1 ./3to2 --no-diffs -n -j 10 -w lib3to2_replace
+	rm -rf lib3to2
+	mv lib3to2_replace lib3to2
 	patch -p0 < python2.patch
-	3to2 --no-diffs -n -j 10 -w lib3to2
 	mv lib3to2/fixes/imports_fix_alt_formatting.py __TEMPFILE__
 	mv lib3to2/fixes/fix_imports.py lib3to2/fixes/imports_fix_alt_formatting.py
 	mv __TEMPFILE__ lib3to2/fixes/fix_imports.py

File python2.patch

 @@ -1,4 +1,4 @@
 -#!/usr/bin/env python3.1
 +#!/usr/bin/env python2.7
- """
+ u"""
  Runs all tests in the same directory named test_*.py
  """