GSoC update

0 views
Skip to first unread message

Alberto Valverde

unread,
Jul 14, 2008, 5:32:09 AM7/14/08
to turbogea...@googlegroups.com, toscawidge...@googlegroups.com, turbo...@googlegroups.com
Hi all,

Today's midterm evaluation day so I cooked up a demo of the work I've
done so far:

http://rumdemo.toscawidgets.org/

Enjoy :)

Alberto

Roger Demetrescu

unread,
Jul 14, 2008, 9:30:16 AM7/14/08
to toscawidge...@googlegroups.com


Hi Alberto.

I still didn't take a deeper look, but anyway... :

s/actibate.bat/activate.bat/


:)

Cheers,

Roger

Alberto Valverde

unread,
Jul 14, 2008, 9:32:45 AM7/14/08
to toscawidge...@googlegroups.com
> Hi Alberto.
>
> I still didn't take a deeper look, but anyway... :
>
> s/actibate.bat/activate.bat/
>
>
> :)

Any little feedback is nice :) Thanks Roger.

Alberto

P.S: Fixed it already

laureano arcanio

unread,
Jul 14, 2008, 6:03:49 PM7/14/08
to toscawidge...@googlegroups.com
Nice job. I'm looking the docs-demo.py file and I'm kind of lost with it, i would like to give RUM a try on a TG2 app. What does the RumApp call returns ? can i just put:
rum = RumApp({...}) in a TG controller ?

Could you provide a tg2 sample ?

Thanks, and sorry if this kind of questions are too obvious.

Mark Ramm

unread,
Jul 14, 2008, 6:27:16 PM7/14/08
to toscawidge...@googlegroups.com
On Mon, Jul 14, 2008 at 6:03 PM, laureano arcanio
<laureano...@gmail.com> wrote:
> Nice job. I'm looking the docs-demo.py file and I'm kind of lost with it, i
> would like to give RUM a try on a TG2 app. What does the RumApp call returns
> ? can i just put:
> rum = RumApp({...}) in a TG controller ?
>
> Could you provide a tg2 sample ?

rum is a wsgi app, which returns a standard wsgi repsonse, so you
can't just stick it in TG2, but if you look at the flex+tg2 docs, it
works the same way as the pyamf app there.

I need to update routes.py to make this nicer again, and that will be
coming in the next version of TG2.

laureano arcanio

unread,
Jul 14, 2008, 7:47:59 PM7/14/08
to toscawidge...@googlegroups.com
By the way, which tool have you used for the unit test statistics ? Looks very interesting stuff.

is it the coverage.py script ?

Thanks.

Alberto Valverde

unread,
Jul 15, 2008, 4:10:03 AM7/15/08
to toscawidge...@googlegroups.com

> By the way, which tool have you used for the unit test statistics ? Looks
> very interesting stuff.
>
> is it the coverage.py script ?

yep, just install it. I use this distutils alias in setup.cfg

[aliases]
cover = nosetests --with-coverage

[nosetests]
with-coverage = False # turn it off by default
cover-package = rum
...

with this you just do:
$ python setup.py cover

The LOC statistics are generated with buildutils (easy_install it) stats
distutils command:

$ python setup.py stats

Alberto

laureano arcanio

unread,
Jul 15, 2008, 10:13:26 AM7/15/08
to toscawidge...@googlegroups.com
Great, thanks Alberto !




Reply all
Reply to author
Forward
0 new messages