[Distutils] _spawn_posix fails, command line works??

Michael Hudson mwh@python.net
Mon Jan 28 05:14:01 2002


"John J. Lee" <jjl@pobox.com> writes:

> On 24 Jan 2002, Michael Hudson wrote:
> 
> > "John J. Lee" <jjl@pobox.com> writes:
> [...]
> > > internals in my setup.py: it's just a perfectly standard set of
> > > Extension() instances, and a couple of static libs, and the only
> > > distutils function I call is setup itself.
> >
> > Can we see it anyway?
> 
> The relevant bit:
> 
> 
> from distutils.core import setup, Extension
> 
> ext_modules = []
> c_libraries = []
> 
> ...
> 
> if os.name == "nt":
>     fmt = '\\"%s\\"'
> elif os.name == "posix":
>     fmt = '\"%s\"'

What happens if you change this to 

    fmt = "%s"

?

Cheers,
M.

-- 
112. Computer Science is embarrassed by the computer.
  -- Alan Perlis, http://www.cs.yale.edu/homes/perlis-alan/quotes.html