[Python-porting] A few questions about the psycopg2 porting to Python 3

Daniele Varrazzo daniele.varrazzo at gmail.com
Thu Jan 13 12:40:27 CET 2011


On Wed, Jan 12, 2011 at 9:35 PM, Lennart Regebro <regebro at gmail.com> wrote:
> On Tue, Jan 11, 2011 at 19:41, Daniele Varrazzo
> <daniele.varrazzo at gmail.com> wrote:
>> other fixers it seems easy, but I haven't found how to register a
>> custom fixer for the use of build_py_2to3 in setup.py. Is there any
>> reference?
>
> Yes: http://packages.python.org/distribute/python3.html#distributing-python-3-modules

Isn't "distribute" a third party library? I would be fine using it if
there was no chance to do what I want with the stdlib; but if some
hacking is enough, even if the stdlib interface is not as polished as
distribute's, I prefer to avoid an extra dependency.

-- Daniele


More information about the Python-porting mailing list