[Python-Dev] Issue2889: Add Curses for Windows as native module for 2.6

techtonik techtonik at gmail.com
Sat May 24 13:09:52 CEST 2008


On Sat, May 24, 2008 at 11:48 AM, "Martin v. Löwis" <martin at v.loewis.de>
wrote:

> > I would really like to see this as release blocker, because the problem
> > raised once in a while in the past and the windows people who are
> > interested in getting console interface tools usually lack the knowledge
> > of unix platform to do the task.
>
> It certainly can't be a release blocker: there is no accepted PEP
> demanding it, it does not cause any crashes, and it is no regression
> over earlier releases.
>
> For this to have any chance, it *must* work with Visual Studio.
> Requiring gcc is unacceptable.
>

As for PDCurses library itself there is a Makefile in PDCurses distribution
for Microsoft Visual C++ 2.0+ named vcwin32.mak  I can't afford buying
Visual Studio to test if it works with newer versions, but logically Visual
Studio should be able to convert Makefile to a newer format.

As for extension I've provided .bat file that uses GCC for compilation and I
think I have some ancient Visual C++ compiler to make the similar .bat file
for cl.exe. But I doubt I'll be able to provide a patch for Python build
system to compile the module into windows distribution, because I do not
have much experience with Python build system and with C linking/makefiles
in general. I know that PDCurses must be added to externals/, but that's
all.

So even if can test and script Python part I am afraid I need help from
someone with experience of Python+Make+Visual Studio.

-- 
--anatoly t.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20080524/49ee5865/attachment.htm>


More information about the Python-Dev mailing list