On Mon, Jun 17, 2013 at 2:12 AM, Doug Linder <[email protected]>wrote:

> I've written a small ui library using pyglet that some of you may be
> interested in.
>
> You can find it here:
> https://github.com/shadowmint/nwidget
>
> What it is: provide a bunch of game-ish ui widgets and themes and things,
> work with cocos2d and pyglet. Apache license.
>
> What is isn't: A serious UI to use for everything. There's lots of
> non-optimized stuff and fluff in there at the moment, but it's definitely
> usable.
>
> Enjoy~
>
> Cheers,
> Doug.
>
> PS. This is a cross post to the pyglet and cocos2d lists.
> --
>



Cool !

1. In the individual tests maybe you can replace

    import src.bootstrap

with

    try:
        import src.bootstrap
    except Exception:
        pass

(and comment out in some the line
   _ = src.bootstrap
)

?
This way  each test can be directly run, by example with
    cd tests\nwidget
    py -2.6 button_tests.py

2. If I were to install nwidget in python in the naive form of copying
directories into the python install, all I need is to copy the dir
 https://github.com/shadowmint/nwidget/tree/master/src/nwidget
to site-packages ?
Or there are other dirs needed ?
I ask because I usually use a .pth to switch library versions, the
bootstrap.py would be cumbersome.

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cocos-discuss.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to