[Childsplay-devel] Fwd: Re: python assetml [childsplay@users.sourceforge.net]
Brought to you by:
stas_zytkiewicz
From: stasZ <chi...@us...> - 2003-09-13 18:44:25
|
On 2003.09.13 20:29, stasZ wrote: On 2003.09.13 14:04, Bruno Coudoin wrote: > > Sory for the long delay. I had to focus on my new job. > > My kids and my wife need more than free software ;) LOL > For now, I prefer to stick to the previous implementation. I agree > with > you that there is a real performance issue but this has to be solve at > a > higher level by doing result caching for example. This caching seems a nice idea, like a little 'database' which contains combinations of filepath + AssetML element data. I suggest you consider a python implementation for this (or some other high level language), to keep this as simple as possible. Also i think this becomes an issue when the assetml concept is become a world wide standard :-), but is important to consider possible solutions now. > For the spec file, the documentation is available on > http://www.rpm.org > I think, but it's perhaps not the best path to go. > > I remember I used a couple of years ago a meta tool which was simpler > than rpm and could generate rpm, spec and other less known package > system. Perhaps its also a way to do it, this way you need to create a > list of file and that's all. Try freshmeat or google for a such tool. > The one I used was epm (from the company who made cups) > http://www.easysw.com/epm/ I will look at it. For me creating a deb package is no problem, my first thought would be to use alien (debian tool) to convert a deb to rpm. On the other hand, These packages are very simple ones, no dependencies or other problem stuff, so i think that the most simple approach is to let the assetml-file-creator-tool make a deb and a rpm. I know from experience that it's simple to create a deb so i think it's not to hard to create a rpm. (simple ones i mean) I'am now working on a assetmlify tool, i will look at creating these packages. For your information, there are now the following python tools:-) pyassetml - a python version of your libassetml. pyassetml-query - your query tool. pyassetml-query.1.gz - a manpage ofcourse ;-) pyassetmlSDL.py - a SDL/pygame backend wich searchs the assetml files and returns the found files as, ready to use, SDL objects. pyassetmlify - the assetml file creator (not complete yet) Stas Z -- A computer scientist is someone who, when told to 'Go to Hell', sees the 'go to', rather than the destination, as harmful. -- A computer scientist is someone who, when told to 'Go to Hell', sees the 'go to', rather than the destination, as harmful. |