[Qgis-user] psycopg2 and Plugin Distribution on Windows

Andreas Neumann a.neumann at carto.net
Mon Nov 17 02:32:08 PST 2008


Hi QGIS Python developers,

I have written a Python QGIS Plugin that relies on psycopg2 (with Marco
Hugentoblers help).

The plugin was developed on Linux but now needs to be distributed on
Windows and OSX.

I created a local plugin repository for this purpose. However, if I try to
install it on a Windows machine I get the error: "No module named
psycopg2".

Now I wonder how I can distribute psycopg2 along with the plugin. Can I
package psycopg2 for several platforms along with my plugin zip file?

I hope that I can find an easy install solution of QGIS-plugins based on
psycopg2, since most of my future QGIS plugins will rely on Postgis.

Thanks for any hints,
Andreas


-- 
Andreas Neumann
Böschacherstrasse 6, CH-8624 Grüt/Gossau, Switzerland
Email: a.neumann at carto.net, Web:
* http://www.carto.net/ (Carto and SVG resources)
* http://www.carto.net/neumann/ (personal page)
* http://www.svgopen.org/ (SVG Open Conference)
* http://www.geofoto.ch/ (Georeferenced Photos of Switzerland)




More information about the Qgis-user mailing list