[Distutils] scripts are not converted by 2to3

Alain Spineux aspineux at gmail.com
Wed Sep 14 08:21:50 CEST 2011


On Tue, Sep 13, 2011 at 12:07 PM, Lennart Regebro <regebro at gmail.com> wrote:
> On Tue, Sep 13, 2011 at 01:17, Alain Spineux <aspineux at gmail.com> wrote:
>> I have this in my setup.py
>>
>> setup(
>>    ...
>>      scripts=[ 'scripts/sendmail', 'scripts/infomail.py' ],
>>      use_2to3 = True
>>    ...
>>
>> and none of sendmail (without .py) or infomail.py (with .py) are
>> converted when running
>>
>> /opt/python-3.2.2/bin/python3 setup.py install
>>
>> Everything else are working fine.
>> Did I miss something ?
>
> I don't think so, sounds like a bug.
>
> //Lennart
>

"test_suite" is not converted if not in packages list.
It looks like only .py file in "packages" are converted.

I have reported the bug anonymously.
It's not visible yet.


-- 
Alain Spineux                   |  aspineux gmail com
Monitor your iT & Backups |  http://www.magikmon.com
Free Backup front-end       | http://www.magikmon.com/mksbackup
Your email 100% available |  http://www.emailgency.com


More information about the Distutils-SIG mailing list