From: Andrew J. <an...@la...> - 2002-07-09 09:46:04
|
Drake Wilson wrote: >I have Pyzzle's files installed in /usr/src/pyzzle-cvs; I have an >experimental thing I'm working on in ~/programs/pyzpov. I'm wondering >what the best way is to indicate where Pyzzle's core files are; moving >the client program into Pyzzle's directory is good for the demo game, >since it's a part of the distribution, but doesn't seem correct for my >situation. Currently I'm just adding '/usr/src/pyzzle-cvs' to the >library searchpath at the beginning of the program, but this will >likely fail if moved to another system, and in fact is starting to >fail now; Pyzzle can't find its pyzzledata directory unless I symlink >it into mine, which is again not workable across systems. Is there a >better way? > > -------> Drake Wilson > OK long answer: I designed Pyzzle as an engine so I always thought that game authors would package pyzzle without the demogame and demodata with their own game for shipping. The alternative could be that users and game authors install pyzzle into their own python module directory, then game creators just import pyzzle assuming that the users all ready has pyzzle correctly installed. Id have to write a custom setup script for end user installation. I don't want to do this just yet for 2 reasons: 1. I don't have any experience in that area of scripting yet. 2. Pyzzle currently does not really have a large enough user base yet for testing the installation. I only have relibe access two rather modified linux boxes. So testing would be tricky my end also. I can rebut my own points very well 1. It would be an excellent way to learn. With a proper installation pyzzle would receive a more professional edge. 2. As Pyzzles user community grows so will the script testing. Hence no need for a larger testing base. my re-rebut: 1. It would be a very nice feature. But currently Pyzzle has higher proities: Fixing the bugs/design problems and then getting it to 1.0. Without the demo game data pyzzle is currently only 650KB. I will probably trim that down further. So packaging it with your own game which is going to be xMB in size is not really a problem. 2. Yeah but that would result in keeping it in beta for longer, something I dont really want. short answer: Currently no. I dont really want things going in that direction, you should place pyzzle alongside your game scripts. Its just simpler and less can go wrong. But post 1.0 I might add this feature. Andy |