Discussion:
[BitPim-devel] Re: [bitpim-cvs-checkins] SF.net SVN: bitpim: [2852] trunk/bitpim/src/conversions.py
Roger Binns
2006-03-03 08:19:36 UTC
Permalink
Search for the helpers dir at parent dir
+ # helpers is at local dir
+ helperdir=os.path.abspath(os.path.join(helperdir, "helpers"))
+ # else upper dir (if running from src)
+ helperdir=os.path.abspath(os.path.join(helperdir, "../helpers"))
I would prefer that there is an attribute somewhere central
named something like 'isfrozen' and use that to determine
where to look.

Even better would be abstracting all this out into another
module. That new module would then be able to apply various
rules (eg it could look elsewhere on the system first for
certain operating systems etc)

Roger

Loading...