usf-team team mailing list archive
-
usf-team team
-
Mailing list archive
-
Message #00022
Re: Resumed work on new_config.py
Well, we had a couple of snags along the way, and some things got done out of order, but all three phases are complete. The only caveat is that I haven't found out how to package windows executables correctly. While setup.py can create an exe, it seems the files get distributed in the wrong directory (c:\Python26), and my attempts to correct this only end up in files not being installed at all. I imagine it has something to do with admin rights, but I'm not sure. As such, I've disabled the use of setup.py on windows, and the only option for installing right now is to unzip the archive and run locally. Sorry.
Aspidites
> -----Original Message-----
> From: aspidites@xxxxxxxxx
> Sent: Sat, 27 Feb 2010 23:39:11 -0800
> To: usf-team@xxxxxxxxxxxxxxxxxxx
> Subject: Resumed work on new_config.py
>
> Long time no see guys! It would appear that I am incapable of balancing a
> relationship and coding :-). At any rate, I'm a bachelor again, and thus
> have time to code again, lol (my becoming a bachelor has nothing to do
> with coding, however ;-).
>
>
> Not quite sure what happend 5 weeks ago, but something in gui.py stopped
> the new config that I wrote from working. I suspect it had something to
> do with the reorganizing of code that I tried to implement as well, so
> I've decided to implement my changes gradually, in phases as follows:
>
> Phase I:
> - Replace all instances of config.py with new_config.py, one by one
> - Use names that are very similar to what is already present:
> config = Config()
> sound_config = config.audio
> sound_config['Option'] = value
>
> Phase II:
> - Replace these "familiar names" with something more pythonic and less
> verbose:
> config = Config()
> config.audio['Option'] = value
>
> Phase III:
> - Re-attempt to restructure code in a similar manner to my branch
> (aspidites)
> - Integrate my build system which will allow for Windows, Debian, and
> RPM packages
>
> ____________________________________________________________
> GET FREE 5GB EMAIL - Check out spam free email with many cool features!
> Visit http://www.inbox.com/email to find out more!
Follow ups
References