Nice one! (it brings up a browser with the docs in it, for those interested)
I'll try to keep testing with py3k as I go :) I think we can we add some tests for the "python -m pygame.examples" etc? Probably not necessary... but maybe a good thing to add at some point... cu, On Tue, May 19, 2009 at 11:34 AM, Lenard Lindstrom <[email protected]> wrote: > Hi René, > > Try this: python -m pygame.docs > > By the way, we all need to take more care in considering Python 3 > compatibility. I just discovered that an executable package in Python 3 > needs a __main__.py module. > > Lenard > > > Lenard Lindstrom wrote: >> >> Oh wait, I already removed go.py from examples. It wasn't needed. But I >> can make pygame.examples list available examples. And I will still update >> the docs. >> >> Lenard >> >> Lenard Lindstrom wrote: >>> >>> That should also work with examples. I will give it a try and update the >>> docs. >>> >>> Lenard >>> >>> >>> René Dudfield wrote: >>>> >>>> hi... >>>> >>>> I made a tiny little change to test/__init__.py which just imports >>>> pygame.tests.go if __name__ == "__main__" >>>> Seems like a fairly clean way to do it -- keeping that code separate in >>>> the go.py seems nice. >>>> >>>> So these work now: >>>> $ python -m pygame.tests --help >>>> $ python -m pygame.tests >>>> $ etc. >>>> >>>> >> > > >
