Permalink
Browse files

Added Py3k support

  • Loading branch information...
1 parent 7f7d921 commit 82de5606755a7da2f2be2450a899ac6c4f610e2b @petehunt petehunt committed Jul 27, 2011
Showing with 23 additions and 0 deletions.
  1. +4 −0 README
  2. +15 −0 build-py3k.sh
  3. +4 −0 setup.py.py3k.patch
View
@@ -34,4 +34,8 @@ Installation
# ... or ...
# python setup.py install
+Python 3.0 Support
+------------------
+Simply run the build-py3k.sh script from the local directory. It will
+build a working package in the ./py3k directory.
View
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+echo "Building Python 3.0 version in ./py3k..."
+rm -fr ./py3k
+mkdir py3k
+cp -rf pymysql py3k/
+cp setup.py py3k/
+cp setup.py.py3k.patch py3k/
+cp CHANGELOG py3k/
+cp README py3k/
+cp LICENSE py3k/
+cd py3k
+2to3 .|patch -p0
+patch setup.py setup.py.py3k.patch
+cd ..
View
@@ -0,0 +1,4 @@
+15c15
+< name = "PyMySQL",
+---
+> name = "PyMySQL3",

0 comments on commit 82de560

Please sign in to comment.