Re: Kaa r4334 - in trunk/candy: . doc src/backend src/widgets

Dirk Meyer <[email protected]>
Newsgroups gmane.comp.video.freevo.devel
Message-ID <[email protected]>

On 15.08.2010 23:01, Jason Tackaberry wrote:
> On Sun, 2010-08-15 at 22:57 +0200, Dirk Meyer wrote:
>>  # If your extensions are in another directory, add it here. If the directory
>>  # is relative to the documentation root, use os.path.abspath to make it
>>  # absolute, like shown here.
>> -sys.path.append(os.path.abspath('../build/lib.linux-i686-2.5/kaa'))
>> +sys.path.append(os.path.abspath('../build/%s/kaa' % kaa.distribution.get_build_directory()))
>>  from candy.version import VERSION
> 
> Without actually looking at the file for better context, but I noticed a
> mention of extensions, so is this something we could use get_plugins()
> from kaa.base.utils for? 
> 
> It's pretty flexible and supports eggs.

I don't see a reason why we should use it here .... and no reason if it
could work. We only need to import the build dir for doc generation and
hardcoding lib.linux-i686-2.5 is a bad idea.

Dischi

-- 
In the Beginning

It was a nice day.
        -- (Terry Pratchett & Neil Gaiman, Good Omens)

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.