oops my bad! will read up on __main__.py G On Fri, Feb 17, 2012 at 12:58 PM, lkcl luke <[email protected]> wrote: > On Fri, Feb 17, 2012 at 8:45 AM, Gustaf Nilsson <[email protected]> wrote: > >> Making it easier to use should not necessarily be the work of a person as >> much as being the mindset of everyone contributing. > > i'm so... relieved to hear someone else saying this. > >> For example the case of using sh files instead of py for compiling the >> examples as i mentioned in another post - it would have taken the same time >> to make py files instead and then the user experience on windows would >> magically have been improved at no extra cost. > > gustaf, i already said - look in pyjamas/examples and in all > subdirectories: see that they all have an __main__.py? you'rre aware > what __main__.py does? if not, look it up. yes i was busy, but i > assumed that you would see the two lines of commands and would work > out that you needed to run them in order to see that that was the > answer. > > did you run "python examples"? or did you look at it? > > or did you try running buildall.py in the examples directory? or did > you look at buildall.py? did you notice that each and every example > has an __main__.py? > > it's _already_ been done (about 18 months ago). the person who > contributed that code even added code which auto-regenerates the > index.html file in examples, as well. > > l.
-- ■ ■ ■ ■ ■ ■ ■ ■ ■ ■

