[Distutils] Installing distribute with Python 3.0 / 3.1

Hugo Lopes Tavares hltbra at gmail.com
Wed Jul 14 17:03:47 CEST 2010


Maybe a problem related to __pycache__ folder created by compile call?
In python there is no longer execfile, and 2to3 converts execfile(filename) to:
execfile(compile(open(filename).read(), filename, 'exec'))
And it creates a __pycache__ folder. Maybe that's the problem..

On Wed, Jul 14, 2010 at 10:41 AM, Éric Araujo <merwok at netwok.org> wrote:
>> I wonder if the run with 3.0 cached some (broken)
>> files from the 2to3 run.
>
> Distutils’ build command uses make-style heuristics to find which files
> to rebuild IIUC, so it’s very possible that’s the answer.
>
>>> [snip wall of text] ;-)
>
> Regards
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>


More information about the Distutils-SIG mailing list