Neil Schemenauer wrote: > On Fri, Sep 05, 2003 at 01:34:19PM -0700, Jim Dukarm wrote: > >>Here is a suggestion: Quixote's setup.py should test whether >>sys.platform == 'win32' and if it it true, install the Python-only >>version of htmltext. > > > The current code does that. > > >>If a Windows binary of htmltext is posted for download from the >>Quixote downloads page, the hapless Windows user can go get it if/when >>it is needed. > > FWIW, we see a significant performance increase when using the C > htmltext extension. If people have a compiler I recommend building > it. I guess I'm biased since I wrote the extension. Agreed -- I would want the performance if I could get it. I'm going to propose _again_ that setup should: -- try to build the extension -- catch the SystemExit (which distutils throws if build_ext fails) -- fail over to the Python implementation, with a warning to the user. I don't think we should test for 'win32'. There are win32 boxes with compilers installed, and there are (I'm sure, somewhere) *nix boxes without compilers installed (available to the users). -- Graham