Fwd: [XML-SIG] [ pyxml-Bugs-581175 ] Bad bangpath for scripts on install (e.g

Uche Ogbuji uche.ogbuji@fourthought.com
Sun, 14 Jul 2002 12:38:17 -0600


> "Juergen Hermann" <jh@web.de> writes:
> 
> > > Which does not exist, causing them to fail.
> > 
> > I have a little distutils extension that _generates_ script stubs, 
> > instead of distutils copying them. This has the added benefit that it 
> > creates .cmd files on windows.
> 
> I'd be interested for a different project (Fnorb), but in this case, I
> think it is unnecessary. There must be a user error of some kind,

Perhaps, but it certainly isn't what you say.


> since the distributed scripts had been using /usr/bin/python. Since
> the user sees /usr/local/bin/python in the installed scripts, it is a
> clear sign that distutils had updated them correctly to point to
> sys.executable.

No.  It's merely a clear sign that distutils has modified them.  
Unfortunately, it has done so incorrectly.


> So it appears that the user had been using a python executable that
> has a sys.executable of /usr/local/bin/python.

This is not true.

> I don't understand why
> he then says that /usr/local/bin/python is not present.

Because it isn't  :-)


-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
Track chair, XML/Web Services One Boston: http://www.xmlconference.com/
The many heads of XML modeling - http://adtmag.com/article.asp?id=6393
Will XML live up to its promise? - http://www-106.ibm.com/developerworks/xml/library/x-think11.html