distutils macro string quoting

Robin Becker robin at jessikat.fsnet.co.uk
Tue Jul 16 08:35:15 EDT 2002


Is there a standard way to get a distutils string pre-processor macro
defined properly?

I find that I need 

 'macros':[('MYSTRDEF','\\"%s\\"' % myStr)],

to get the right things to happen under win32 and it seems a bit OS
dependent to me. 
-- 
Robin Becker



More information about the Python-list mailing list