1. Tarek Ziadé
  2. distribute
  3. Issues
Issue #233 new

scripts and test_suite are not converted by 2to3

Alain Spineux
created an issue

I have this in my setup.py



setup( ... scripts=[ 'scripts/sendmail', 'scripts/infomail.py' ], use_2to3 = True, packages = [ 'mypackage'], test_suite = 'tests', ... )

}}} 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

They are installed in ///opt/python-3.2.2/bin// directory but are unusable.

Also 'tests' is not converted and ///opt/python-3.2.2/bin/python3 setup.py test// fail. As a workaround I can add //tests// to //packages //but then //tests// is distributed as a package, or move //tests //directory into //mypackage//. Then tests is distributed as mypackage.tests, not what I want but more acceptable.

Everything else are working fine.

Alain Spineux