From: AKX <th...@gm...> - 2005-12-18 18:53:26
|
I made a couple of commits and now it does WORK under a VMware Debian installation. Could you try it out? AKX |
From: Grzegorz A. H. <gr...@ti...> - 2005-12-18 20:28:46
|
On 2005-12-18, AKX <th...@gm...> wrote: > I made a couple of commits and now it does WORK under a VMware Debian > installation. > Could you try it out? It compiles and installs, but running any of the tests gives out: [1:gradha@noir:0] [~/project/python/pyalleg-pyrex/tests]$ python test_load.py Traceback (most recent call last): File "test_load.py", line 1, in ? from pyalleg import * File "/usr/lib/python2.3/site-packages/pyalleg/__init__.py", line 15, in ? import pyalleg_events as events File "/usr/lib/python2.3/site-packages/pyalleg/pyalleg_events.py", line 7, in ? keysDown=set() NameError: name 'set' is not defined Maybe it requires a special version of python/pyrex? I have 2.3. |
From: AKX <th...@gm...> - 2005-12-19 14:33:40
|
Committed fix to pyalleg_events.py. Set() is a Python 2.4 built-in, but thankfully, there is the sets module for... lesser... Pythons. AKX On 12/18/05, Grzegorz Adam Hankiewicz <gr...@ti...> wrote: > On 2005-12-18, AKX <th...@gm...> wrote: > > I made a couple of commits and now it does WORK under a VMware Debian > > installation. > > Could you try it out? > > It compiles and installs, but running any of the tests gives out: > > [1:gradha@noir:0] [~/project/python/pyalleg-pyrex/tests]$ python test_loa= d.py > Traceback (most recent call last): > File "test_load.py", line 1, in ? > from pyalleg import * > File "/usr/lib/python2.3/site-packages/pyalleg/__init__.py", line 15, i= n ? > import pyalleg_events as events > File "/usr/lib/python2.3/site-packages/pyalleg/pyalleg_events.py", line= 7, in ? > keysDown=3Dset() > NameError: name 'set' is not defined > > Maybe it requires a special version of python/pyrex? I have 2.3. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > Pyallegro-general mailing list > Pya...@li... > https://lists.sourceforge.net/lists/listinfo/pyallegro-general > |
From: Grzegorz A. H. <gr...@ti...> - 2005-12-19 19:09:06
|
On 2005-12-19, AKX <th...@gm...> wrote: > Committed fix to pyalleg_events.py. Set() is a Python > 2.4 built-in, but thankfully, there is the sets module > for... lesser... Pythons. Requiring a specific version of python or pyrex is not a problem as long as you can detect that in the build script and show a big warning for your users. test_show.py is pretty, runs at 15fps on my PIII 800Mhz. Now you only need to pack that, upload to sourceforge and maybe announce it on freshmeat to profit. |
From: AKX <th...@gm...> - 2005-12-20 12:11:10
|
Well, there are no other 2.4 dependent parts. And actually, due to that fix, there are NO 2.4 _dependent_ parts. The events module will just be somewhat slower. Did you try all the tests? On 12/19/05, Grzegorz Adam Hankiewicz <gr...@ti...> wrote: > On 2005-12-19, AKX <th...@gm...> wrote: > > Committed fix to pyalleg_events.py. Set() is a Python > > 2.4 built-in, but thankfully, there is the sets module > > for... lesser... Pythons. > > Requiring a specific version of python or pyrex is not a problem > as long as you can detect that in the build script and show a big > warning for your users. > > test_show.py is pretty, runs at 15fps on my PIII 800Mhz. Now you > only need to pack that, upload to sourceforge and maybe announce > it on freshmeat to profit. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > Pyallegro-general mailing list > Pya...@li... > https://lists.sourceforge.net/lists/listinfo/pyallegro-general > |
From: Grzegorz A. H. <gr...@ti...> - 2005-12-20 19:17:51
|
On 2005-12-20, AKX <th...@gm...> wrote: > Did you try all the tests? blipchain is terribly slow. lineofsight doesn't seem to be pixel perfect. test_load doesn't work because the smiley.bmp file is commited as smiley.BMP. test_mandel.py is mentioned twice in readme.html. nodes.py suffers from 2.4 versionitis. fillers.py fails with: >9 SumSortBadfill Traceback (most recent call last): File "fillers.py", line 159, in ? bf.do() File "fillers.py", line 24, in do p=self.selectNode() File "fillers.py", line 89, in selectNode self.n.sort(None,sum) TypeError: sort expected at most 1 arguments, got 2 Most of your examples are really pretty. |
From: AKX <th...@gm...> - 2005-12-22 12:14:18
|
Yes... so just really minor problems. VERY NICE, if I say it myself. And thanks for that "Most of your examples are really pretty." :) Blipchain has a couple of variables that can be changed. Lineofsight isn't pixel perfect, but that's a matter of tuning again. That bitmap.. ok, sorry, I'm on Windows. :P Gotta go WoW now. AKX On 12/20/05, Grzegorz Adam Hankiewicz <gr...@ti...> wrote: > On 2005-12-20, AKX <th...@gm...> wrote: > > Did you try all the tests? > > blipchain is terribly slow. lineofsight doesn't seem to be pixel > perfect. test_load doesn't work because the smiley.bmp file is > commited as smiley.BMP. test_mandel.py is mentioned twice in > readme.html. nodes.py suffers from 2.4 versionitis. fillers.py > fails with: > > >9 > SumSortBadfill > Traceback (most recent call last): > File "fillers.py", line 159, in ? > bf.do() > File "fillers.py", line 24, in do > p=3Dself.selectNode() > File "fillers.py", line 89, in selectNode > self.n.sort(None,sum) > TypeError: sort expected at most 1 arguments, got 2 > > Most of your examples are really pretty. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > Pyallegro-general mailing list > Pya...@li... > https://lists.sourceforge.net/lists/listinfo/pyallegro-general > |