On Thursday 17 July 2003 11:28 pm, Graham Fawcett wrote: > Jason Sibre wrote: > >>On Thu, Jul 17, 2003 at 06:08:14PM -0400, Mark Bucciarelli wrote: > >>>When I run setup.py install on Windows, I get an error that > >>> cl.exe cannot be found. (cl.exe is the name of the windows C > >>> compiler.) > >> > >>You need to comment out the line: > >> > >> kw['ext_modules'].append(htmltext) > >> > >>in setup.py. Perhaps we should change it so the default it to > >> not compile _c_htmltext on Windows. > I suggested such a patch to setup.py some time ago [snip interesting comments on ming compiler] > try: > core.setup(**kw) > > except SystemExit, errmsg: [rest of patch snipped] Distutils should be fixed so it doesn't try to compile if it can't find a executable. Note that the Quixote setup.py would probably fail on a gx server where the admin has removed the C compiler for security reasons. There's already code that does the heavy lifting of trying to locate the compiler; for example, see python2.2/disutils/msvccompiler.py, find_exe method. Regards, -- Mark Bucciarelli, www.hubcapconsulting.com He who receives an idea from me, receives instruction himself without lessening mine; as he who lights his taper at mine receives light without darkening me. -- Thomas Jefferson