duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Re: Duplicity 0.4.4.RC3 Ready


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] Re: Duplicity 0.4.4.RC3 Ready
Date: Tue, 02 Oct 2007 13:37:39 -0500
User-agent: Thunderbird 1.5.0.13 (X11/20070824)

Andreas Schildbach wrote:
> Kenneth Loafman wrote:
> 
>> You need to set the Python path to add the site-packages, like this:
>>
>>     sys.path.insert(0, '/root/dupl/lib/python2.4/site-packages/')
>>
>> immediately after the imports in bin/duplicity.  Without it, Python will
>> import from the normal places.  This overrides the Python path.
> 
> This does not work either. I inserted at line 33:
> 
> sys.path.insert(0,
> '/root/duplicity-0.4.4.RC3/lib/python2.4/site-packages/')
> 
> The directory exists, it contains one subdirectory "duplicity" which
> contains a bunch of .py and .pyc files.

Add the duplicity at the end, i.e.
sys.path.insert(0, '/root/dupl/lib/python2.4/site-packages/duplicity')

...Ken

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]