On Wed, Jan 2, 2013 at 1:49 PM, Svenn Are Bjerkem
<svenn.bjer...@googlemail.com> wrote:
> On 2 January 2013 13:21, Jaap Karssenberg <jaap.karssenb...@gmail.com> wrote:
>> On Sun, Dec 30, 2012 at 1:01 AM, Svenn Are Bjerkem
>> <svenn.bjer...@googlemail.com> wrote:
>>> Hi,
>>> I have done some small modifications to the base zim code, and would
>>> like to test the code without installing it.
>>> If I try to start the zim in the scripts directory, it picks up the
>>> installed zim modules and not the ones in the build directory.
>>
>> This is odd. If you run the "zim.py" from the source directory it
>> should pick the libraries from the same location.
>>
>> (Btw. assume you mean the source directory when you taks about the
>> "build directory" - the is no need to actually build when running from
>> sources.)
>
> If I run python setup.py build, a new directory, build, will be
> created, and inside this directory the script and lib directories are
> created. I didn't think of running directly out of the source
> directory.

That explain. The build version is meant for installing, so it will
not run correctly from the build directory.

If running directly from source, zim will detect it and search for the
relative files.

Regards,

Jaap

_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to