summaryrefslogtreecommitdiff
path: root/README.Python3
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2010-11-16 11:40:25 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2010-11-16 11:40:25 +0100
commit62847484ffaa1fbb9596dd477653e127e1787f15 (patch)
treeac05f6f890e73c1feb89946d8296620da0f73a8d /README.Python3
parent092e9b0edf0d0039878bc8875354df9c91f3da6e (diff)
downloadpylint-62847484ffaa1fbb9596dd477653e127e1787f15.tar.gz
py3k: add a README.Python3
Diffstat (limited to 'README.Python3')
-rw-r--r--README.Python332
1 files changed, 32 insertions, 0 deletions
diff --git a/README.Python3 b/README.Python3
new file mode 100644
index 0000000..3c94863
--- /dev/null
+++ b/README.Python3
@@ -0,0 +1,32 @@
+Python3
+=======
+
+Source
+------
+
+Python3 portage is made by running the 2to3 script on all modules::
+
+ find . ! -path "*/test/*py" -name "*py" -exec 2to3-3.1 -wn {} \;
+
+
+Dev
+---
+
+If you want to run the tests, simply remove the "! -path ..." option, hence
+also refactoring the test files, including all data files.
+Note that when running 2to3 on some test/input/ files, it will crash since
+this folder contains corrupted files. Hence, we can not run directly
+*2to3* on the test folder::
+
+ $ 2to3 test/
+
+But it will work nice with *find*.
+
+Debian
+------
+
+For the Debian packaging, you can use the debian.py3k/ content against
+the debian/ folder::
+
+ cp debian.py3k/* debian/
+