summaryrefslogtreecommitdiff
path: root/convert-python3.2
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2012-01-20 13:56:02 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2012-01-20 13:56:02 -0500
commit45fd6b551dccc85f01061f26642614ceebf39843 (patch)
tree1451f49eff5a8a5b4c13037f8616bee199985fe7 /convert-python3.2
parentf7e2daa88f5d9001e171d65b122a3bdc7052f955 (diff)
Got the test suite to pass on Python 3.2 (skipping the html5lib stuff, which doesn't seem to have Python 3 support yet.)
Diffstat (limited to 'convert-python3.2')
-rwxr-xr-xconvert-python3.28
1 files changed, 8 insertions, 0 deletions
diff --git a/convert-python3.2 b/convert-python3.2
new file mode 100755
index 0000000..a083124
--- /dev/null
+++ b/convert-python3.2
@@ -0,0 +1,8 @@
+#!/bin/sh
+#
+# The Python 2 source is the definitive source. This script uses 2to3-3.2 to
+# create a new python3/bs4 source tree that works under Python 3.
+rm -rf python3.2
+mkdir python3.2
+cp -r bs4 python3.2
+2to3-3.2 -w python3.2 \ No newline at end of file