"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.
On 28 Jan 2002, Michael Hudson wrote:
"John J. Lee" jjl@pobox.com writes:
[...]
if os.name == "nt": fmt = '\"%s\"' elif os.name == "posix": fmt = '"%s"'
What happens if you change this to
fmt = "%s"
I suppose you mean '"%s"'? Yes, that's what I should have had in the "posix" part of the if statement (though I don't much care at the moment, since I've still to get the thing to work without segfaulting on windows). The confusing part was the difference in behaviour between windows and unix -- or have I missed your point?
John