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

Lennart Regebro regebro at gmail.com
Wed Jan 12 22:35:38 CET 2011


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

setup(
    ...
    use_2to3_fixers = ['your.fixers'],
    ...
)


More information about the Python-porting mailing list