[Python-Dev] HP-UX clean-up

Martin v. Loewis martin at v.loewis.de
Tue Jan 6 16:18:13 EST 2004


Cameron Laird wrote:

> C.  curses:  I find this hairy.
> 
>     Is there a clean way to build without curses?  

Why do you want one? If it fails to build, it fails to build.
It will still continue trying to build the other extension
modules.

The real problem here is the old decision to use distutils
for building exceptions - in the Modules/Setup approach,
you *had* to edit the file to determine which extension
modules to build.

Of course, the same can apply to setup.py: Just delete
the lines mentioning curses, and it will stop building
the curses extensions.

I'm confident though that one can manage to adjust the
curses code to build on HP-UX, once you have figured out
that there are multiple (three ?!?) curses implementations
on the system, and that you should select the "right"
one.

Regards,
Martin




More information about the Python-Dev mailing list