From: Michael Trier Date: Thu, 25 Feb 2010 05:23:14 +0000 (+0000) Subject: Corrected the py3k docs so that you can properly use python3 to run 2to3. Thanks... X-Git-Tag: rel_0_6beta2~126 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b5e2df00b782ac59500f0759b64d5c07d2e9d16;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Corrected the py3k docs so that you can properly use python3 to run 2to3. Thanks Taavi Burns. --- diff --git a/README.py3k b/README.py3k index 9cfaaaad4f..95ecb7f3af 100644 --- a/README.py3k +++ b/README.py3k @@ -32,15 +32,10 @@ To convert all files in the source distribution, run SQLAlchemys "sa2to3.py" script, which monkeypatches a preprocessor onto the 2to3 tool: - python sa2to3.py ./lib/ ./test/ ./examples/ -w + python3 sa2to3.py --no-diffs -w lib test examples The above will rewrite all files in-place in Python 3 format. -NOTE: at the time of this writing, Python3's 2to3 tool does not appear -to properly handle source files with non-ascii encoding. Some SQLAlchemy -tests necessarily have utf-8 encoded strings embedded, so a Python2.6 -interpreter is necessary in order to run a full 2to3. - Running Tests -------------