Add script to convert to Python 3 format
authorThomas Perl <m@thp.io>
Mon, 22 Aug 2011 12:37:01 +0000 (22 14:37 +0200)
committerThomas Perl <m@thp.io>
Mon, 22 Aug 2011 12:37:01 +0000 (22 14:37 +0200)
convert-to-python3.sh [new file with mode: 0755]

diff --git a/convert-to-python3.sh b/convert-to-python3.sh
new file mode 100755 (executable)
index 0000000..1ac8be6
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Convert urlwatch sources to Python 3.x compatible format
+
+SOURCES="urlwatch lib/urlwatch/*.py examples/hooks.py.example setup.py"
+
+2to3 -w $SOURCES
+