<div dir="ltr"><div><div>Thank you Victor for help.<br><br></div>I inserted your name in the header of my next "GEarthView.py 3.0 Cesium" source:<br><br>          import ext-libs        Enrico Ferreguti    <br>                                       Victor Olaya<br><br></div>With your help (and Enrico) I definitively solved  :)<br><br><br><div>A presto<br><br></div><div>Roberto<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-24 15:26 GMT+02:00 Victor Olaya <span dir="ltr"><<a href="mailto:volayaf@gmail.com" target="_blank">volayaf@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The ext-libs folder is not in the repo. It is populated by the paver<br>
setup task. Once you run the task, the libraries will be installed in<br>
there<br>
<br>
Hope this helps<br>
<div class="HOEnZb"><div class="h5"><br>
2015-10-21 15:28 GMT+02:00 Geo DrinX <<a href="mailto:geodrinx@gmail.com">geodrinx@gmail.com</a>>:<br>
> Ola Victor !  :)<br>
><br>
> 2015-10-07 17:50 GMT+02:00 Victor Olaya <<a href="mailto:volayaf@gmail.com">volayaf@gmail.com</a>>:<br>
>><br>
>> At the moment, you have to ship them with your plugin, in the plugin<br>
>> zip file. If the lib uses native code, you will need to include<br>
>> binaries for all OSs that you want to support, and the corresponding<br>
>> mechanism to pick one or the other.<br>
>><br>
>> As an example, you can see how it is done in this plugin<br>
>><br>
>><br>
>> <a href="https://github.com/boundlessgeo/qgis-geoserver-plugin/blob/master/src/geoserverexplorer/__init__.py" rel="noreferrer" target="_blank">https://github.com/boundlessgeo/qgis-geoserver-plugin/blob/master/src/geoserverexplorer/__init__.py</a><br>
>><br>
>> Dependencies are stored in a folder called "ext-libs", which is added<br>
>> to the python path by the plugin<br>
>><br>
>> Notice that that folder is not in the repo, there is a paver task to<br>
>> fetch the dependencies from PyPi<br>
>><br>
>> Notice also that QGIS has its folder with python libs<br>
>><br>
>> <a href="https://github.com/qgis/QGIS/tree/master/python/ext-libs" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS/tree/master/python/ext-libs</a><br>
>><br>
>> Make sure that the libs you require are not already in there<br>
><br>
><br>
><br>
> In my case ( GEarthView QGIS plugin )  I have  two external libraries:<br>
><br>
> twisted<br>
> zope<br>
><br>
><br>
> that I need to install manually  :(<br>
><br>
> On windows,  they need to be copied for each new version of QGIS, inside the<br>
> folder:<br>
><br>
> QGIS VERSION\apps\Python27\Lib\site-packages\<br>
><br>
><br>
> Instead, on MacOSX, they are  (once and for all) inside the standard  python<br>
> library folder, as I explained in my blog:<br>
><br>
> <a href="http://exporttocanoma.blogspot.it/2015/01/gearthview-20-plugin-per-qgis.html" rel="noreferrer" target="_blank">http://exporttocanoma.blogspot.it/2015/01/gearthview-20-plugin-per-qgis.html</a><br>
><br>
><br>
> I have tried several times to make sure that it was not necessary to install<br>
> anything, including the libraries in my plugins, so far I have not<br>
> succeeded.   So, that your message has rekindled my hopes  :)    but there<br>
> are some things I do not understand, in your explanation  (my fault).<br>
><br>
> Here are my steps:<br>
><br>
> 1) I modified my  geodrinx/__init__.py      adding:<br>
><br>
> site.addsitedir(os.path.abspath(os.path.dirname(__file__) + '/ext-libs'))<br>
><br>
> Question:  where need I to create this  ext-libs   folder ?    I looked into<br>
> the plugin that you indicate, but I found no "ext-libs" folder.<br>
><br>
> Could you please explain me (us)  better ?<br>
><br>
><br>
> Thank you much<br>
><br>
> A presto<br>
><br>
> Roberto<br>
><br>
</div></div></blockquote></div><br></div>