[Distutils] Distribute: will not build on Python 3 with --install-XXX arguments

Vinay Sajip vinay_sajip at yahoo.co.uk
Wed Mar 6 12:22:24 CET 2013


Paul Moore <p.f.moore <at> gmail.com> writes:

> 
> On 5 March 2013 13:36, Paul Moore <p.f.moore <at> gmail.com> wrote:
> > What I'm doing is checking out distribute, then trying to install it
> > into a temporary directory. However, when I do this, I seem to be
> > getting the files in python 2 form, *not* having been converted using
> > 2to3. The resulting build is therefore broken.
> >
> > Can anyone suggest what might be going on here? I've been looking at
> > this for hours now, and I'm no nearer to working out what is going on
> > 
> 
> Any thoughts, anyone? Are there any distribute experts around?
> 
> At the moment, the only option I can find for getting an "uninstalled"
> distribute is setup.py build and then grab the contents of build/lib.
> And that's a really ugly hack 
> 

If it feels like you're yak shaving and you'd rather not be, you could look at
distribute3 [1], which doesn't need 2to3. It was synchronised with distribute in
Jan 2013, so it might work for you if you don't need some more recent
functionality/bug-fix.

Regards,

Vinay Sajip

[1] https://bitbucket.org/vinay.sajip/distribute3



More information about the Distutils-SIG mailing list