Thanks Arnaud, I use virtualenv also, but I understood in your message that
there was a way to combine it with osgeo4w packaging.
See you on monday
Régis
2016-12-08 18:01 GMT+01:00 Arnaud Morvan :
>
> virtualenv has nothing to do with osgeo4w
>
> virtualenv is a tool to create a site-package fold
virtualenv has nothing to do with osgeo4w
virtualenv is a tool to create a site-package folder and install
packages with pip.
you use it in your make file (easy with linux, but should not be much
more difficult under windows)
you add it to your plugin package
if you add this folder in your py
Hi Arnaud,
does virtualenv works in osgeo4w?
Régis
2016-12-08 16:11 GMT+01:00 Arnaud Morvan :
>
> Hello Xavier,
>
> here we are used to create a virtualenv at build time (in make build or
> make install target), in the plugin folder,
> the virtual env site-package folder is added to the python sy
Note that owslib is distributed with QGIS so you can use :
from owslib.etree import etree
See here for more info :
https://github.com/geopython/OWSLib/blob/840284bdd1d5e335e7a0d5d276afe4d0b34ac4cf/owslib/etree.py#L36
Arnaud Morvan
Ingénieur logiciel
Tél: +33 (0)4 58 48 20 32
Camptocamp Franc
Hello Xavier,
here we are used to create a virtualenv at build time (in make build or
make install target), in the plugin folder,
the virtual env site-package folder is added to the python sys path in
plugin __init__.py file before the class factory.
Note that it is necessary to add this vir
Hi Xavier
1) pip can be installed on OSGeo4W (many references on the gis stack
exchange and on the web)
2) paver do nothing other than creating python eggs or now you can use
wheel format, then setting pythonpath starting the plugin allow you to
load module from local modules... paver is a utility
Hi Alessandro,
Thank you for the example, I will study paver to see how it works
Cheers
2016-12-07 9:49 GMT+01:00 Alessandro Pasotti :
> On Wed, Dec 7, 2016 at 9:43 AM, Xavier Barnada wrote:
>
>> Hi all,
>>
>> I been working on a plugin that uses another python requirements like
>> lxml.
>>
>>
On Wed, Dec 7, 2016 at 9:43 AM, Xavier Barnada wrote:
> Hi all,
>
> I been working on a plugin that uses another python requirements like lxml.
>
> The problem it's that I solved the requirements problem on Linux calling
> pip command but this don't work on QGIS with Windows because Windows don't
Hi all,
I been working on a plugin that uses another python requirements like lxml.
The problem it's that I solved the requirements problem on Linux calling
pip command but this don't work on QGIS with Windows because Windows don't
incorporate python or pip.
In my opinion QGIS API should provide