At 11:51 AM 11/1/2005 +0000, John J Lee wrote:
>On Tue, 1 Nov 2005, John J Lee wrote:
>[...]
> > --- setuptools\command\easy_install.py~ Mon Oct 31 18:09:31 2005
> > +++ setuptools\command\easy_install.py  Tue Nov 01 11:12:53 2005
> > @@ -318,7 +318,8 @@
> >
> >          finally:
> >              if os.path.exists(tmpdir):
> > -                shutil.rmtree(tmpdir)
> > +                #shutil.rmtree(tmpdir)
> > +                os.system('rmdir /q /s %s' % tmpdir)
>[...]
>
>A colleague suggests that setuptools should use svn export to avoid
>creating the permissions issue in the first place.  Does that sound
>reasonable?

It would then not work for revision tagged builds, which is one of the big 
selling points for having subversion checkouts in the first place.  It 
would also not work if you were planning to do development work on the 
code, which is another one of the big selling points of the feature.

I wonder what the permission problem is, and if perhaps it could be fixed 
by easy_install doing an os.walk() and chmod'ing the files and/or 
directories before the rmtree?


_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to