[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] pygame.midi using portmidi?



hi,

I made some more updates to the docs, and to create_doc_from_py.py

It looks like the midi module is killing the tests on windows...
http://thorbrian.com/pygame/builds.php

I think portmidi needs to be compiled with debug settings turned off... otherwise it prints stuff out.

I think set PM_CHECK_ERRORS to 0.  As well as set DEBUG to 0.  However I think DEBUG to 0 also sets PM_CHECK_ERRORS to 0, so probably only DEBUG to 0 is needed.

Details in README.txt and pm_win/README_win.txt


cheers,


On Sun, May 24, 2009 at 2:08 PM, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
That new program will be useful. Thanks.

Lenard

René Dudfield wrote:
Cool.

I added a new tool to test/util for generating .doc files from .py modules with doc strings... eg:
python create_doc_from_py.py pygame.midi > ../../lib/midi.doc

Now pygame.midi also has html docs.

cheers,


On Sun, May 24, 2009 at 1:12 PM, Lenard Lindstrom <len-l@xxxxxxxxx <mailto:len-l@xxxxxxxxx>> wrote:

   Thanks for the warning. I disabled midi_test.py for Python 3.

   Lenard

   René Dudfield wrote:

       hi again,

       there's been a few small updates to the midi stuff.  I added a
       few basic unit tests today.  The pass on linux(ubuntu).

       Looks like the midi tests are failing on Mac OSX.
       http://thorbrian.com/pygame/builds.php

       Will have to look into failing OSX tests later... my girl
       friend is using her mac this weekend.  Unless someone else can
       look into it.


       I've also finished the docs... in the midi.py file.  Now I'm
       writing a little script to generate a .doc file version from
       the .py file.


       cheers,