[Distutils] setting string macros
Robin Becker
robin@jessikat.fsnet.co.uk
Sat Jul 27 10:43:02 2002
I'm having a problem win32 vs freeBSD/unices
under win32 the executed command string appears like this
-DLIBART_VERSION=\"2.3.10\"
so the setup.py code looks like
define_macros=[('LIBART_VERSION','\\"2.3.10\\"')]
but this causes problems with unices (unterminated string constant
errors) and I have to use
define_macros=[('LIBART_VERSION','"2.3.10"')]
I guess this relates to problems in system under win32, but is there a
'correct' way to get string macros defined.
--
Robin Becker