A long-overdue PTW; I'm interested in the direction is taking and would love to get into PyLNP when it's ready. The only requirement is that it works, and any complex logic must still work if fed an installed copy of the content, which it sounds like you're trying for anyway
I already use it to install graphics to the Modest Mod and variations - that's why I developed it, tbh
. It's also been my testing ground, which is why I didn't find the color problems until just now.
Re: code - do you have java experience or similar?
Python programmers tend to say "Flat is better than nested", so I'd put all the source files directly in the src directory.
Yeah, I've been told before that my directory structure is a giveaway. You should see how nested the packages are at work. 5 directories deep
minimum.
I actually went with what I thought would be the minimum level of nesting, given that I hoped to get the project into the LNP eventually. Surely with module names like 'config' and 'parsing' namespace conflicts are inevitable without packages? But I was also under the impression that module names are to be kept concise...
There's a bunch of other idiom that I'd be happy to talk you through and work on (some for clarity, others avoid bugs). Interested in pull requests?
Sure! I've been using the PyDev plugin for Eclipse & its style checker, so the basic whitespace etc. requirements should be met, but I'm sure I'm making tons of harder-to-finger stylistic errors.
Incidentally, I really despise the line length limit. I like descriptive, unabbreviated variable names, and any kind of text parsing is going to use multiple loops. I know it's
supposed to improve readability, but between forcing less-descriptive (thus less readable) variable names, encouraging the extraction of sub-methods for reasons other than "this makes logical sense as a separate function" (making the logic harder to follow/thus less readable, for me anyways) and the ubiquity of widescreen monitors (making long lines more readable than they were in The Old Days), it makes me want to scream. [/rant]