From: Wolfgang Strobl on
Daniel Fetchinson <fetchinson(a)googlemail.com>:

>> for fits and giggles, to show what's possible in only 400
>> lines of python, here is a game of asteroids, written by joe rumsey.
>> yes, it runs under pyjamas-desktop too.
>>
>> http://pyjs.org/examples/asteroids/public/Space.html
>
>This URL returns a blank page for me on firefox 3.3.5 (linux) with and
>without adblock plus.

http://pyjs.org/examples/asteroids/output/Space.html works. (Firefox
3.6.3 with ABP, Chrome 4.1)


--
Wir danken f�r die Beachtung aller Sicherheitsbestimmungen
From: Daniel Fetchinson on
>>> for fits and giggles, to show what's possible in only 400
>>> lines of python, here is a game of asteroids, written by joe rumsey.
>>> yes, it runs under pyjamas-desktop too.
>>>
>>> http://pyjs.org/examples/asteroids/public/Space.html
>>
>>This URL returns a blank page for me on firefox 3.3.5 (linux) with and
>>without adblock plus.
>
> http://pyjs.org/examples/asteroids/output/Space.html works. (Firefox
> 3.6.3 with ABP, Chrome 4.1)

Thanks, this link indeed works! And a pretty cool game too!

Cheers,
Daniel

--
Psss, psss, put it down! - http://www.cafepress.com/putitdown
From: Jean-Michel Pichavant on
Luke Kenneth Casson Leighton wrote:
> [snip]
>

Am I the only one getting this error ?

easy_install --prefix /home/jeanmichel -m pyjamas
Searching for pyjamas
Reading http://pypi.python.org/simple/pyjamas/
Reading http://pyjs.org
Best match: pyjamas 0.7
Downloading
http://pypi.python.org/packages/source/P/Pyjamas/pyjamas-0.7.tgz#md5=8441b60bb3c88051799537852cceefd0
Processing pyjamas-0.7.tgz
error: Couldn't find a setup script in
/tmp/easy_install-y3peDk/pyjamas-0.7.tgz
[1] 12487 exit 1 easy_install --prefix /home/jeanmichel -m pyjamas
From: lkcl on
On Apr 26, 12:45 pm, Jean-Michel Pichavant <jeanmic...(a)sequans.com>
wrote:
> Luke Kenneth Casson Leighton wrote:
>
> > [snip]
>
> Am I the only one getting this error ?

yes, because you're the only one using easy_install. you'll need to
read and follow the instructions in README and INSTALL.txt

the installation procedure requires, without fail, that you run
"python bootstrap.py" which can NOT be added to a standard "setup.py"
script without causing massive problems.

it is imperative that the python source which is part of the pyjamas
core libraries be kept ABSOLUTELY separate from standard http://python.org
core libraries. implementations of os.py, sys.py, md5.py and many
more CANNOT be allowed to be part of the "standard" http://python.org
paths.

these libraries cannot be treated as "code"

these libraries cannot be treated as "data".

the dumb-system called "easy_install" cannot cope with the necessary
distinction; it does not _have_ a means to treat libraries as
"critical" but neither "code which gets installed in the standard
place in the standard way" nor "data". thus we cannot use it.

thus, you need to read the instructions, and follow them.

l.

> easy_install --prefix /home/jeanmichel -mpyjamas
> Searching forpyjamas
> Readinghttp://pypi.python.org/simple/pyjamas/
> Readinghttp://pyjs.org
> Best match:pyjamas0.7
> Downloadinghttp://pypi.python.org/packages/source/P/Pyjamas/pyjamas-0.7.tgz#md5=...
> Processingpyjamas-0.7.tgz
> error: Couldn't find a setup script in
> /tmp/easy_install-y3peDk/pyjamas-0.7.tgz
> [1]    12487 exit 1     easy_install --prefix /home/jeanmichel -mpyjamas

From: lkcl on
On Apr 25, 9:37 pm, Wolfgang Strobl <ne...(a)mystrobl.de> wrote:
> Daniel Fetchinson <fetchin...(a)googlemail.com>:
>
> >> for fits and giggles, to show what's possible in only 400
> >> lines of python, here is a game of asteroids, written by joe rumsey.
> >> yes, it runs underpyjamas-desktop too.
>
> >>    http://pyjs.org/examples/asteroids/public/Space.html
>
> >This URL returns a blank page for me on firefox 3.3.5 (linux) with and
> >without adblock plus.
>
> http://pyjs.org/examples/asteroids/output/Space.html works. (Firefox
> 3.6.3 with ABP, Chrome 4.1)

yep. apologies. didn't want to play asteroids, wanted to do a
release. joe has done an updated version (that only works with pyjs
not pyjd) which has sound. it uses a hidden iframe containing an
adobe swf plugin, and javascript to communicate with the hidden
iframe, sending it "commands" to play certain sounds at certain
volumes. once i work out how to do the same trick in pyjd, it'll get
added.

l.