[issue15418] 2to3 docs should mention setup.py fixes required to install compatible packages in Python 3
New submission from anatoly techtonik <techtonik@gmail.com>: http://docs.python.org/py3k/library/2to3.html should mention the practice of running 2to3 in setup.py for codebase compatible with both Python 2 and Python 3. ---------- assignee: docs@python components: Documentation messages: 166108 nosy: docs@python, techtonik priority: normal severity: normal status: open title: 2to3 docs should mention setup.py fixes required to install compatible packages in Python 3 versions: Python 3.1, Python 3.2, Python 3.3 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue15418> _______________________________________
Changes by Tshepang Lekhonkhobe <tshepang@gmail.com>: ---------- nosy: +tshepang _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue15418> _______________________________________
Mark Lawrence added the comment: I disagree with this on two grounds. First 2to3 can be run by anybody needing it, not just from setup.py. Second the recommended mechanism for writing new code is to use libraries such as six so that the one code base can run on 2 and 3. ---------- nosy: +BreamoreBoy _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue15418> _______________________________________
Changes by Terry J. Reedy <tjreedy@udel.edu>: ---------- resolution: -> wont fix stage: -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue15418> _______________________________________
participants (4)
-
anatoly techtonik
-
Mark Lawrence
-
Terry J. Reedy
-
Tshepang Lekhonkhobe