Re: [Qgis-user] Move python plugin to a network directory

2011-08-11 Thread Martin Dobias
On Wed, Aug 10, 2011 at 6:02 PM, HAUBOURG
regis.haubo...@eau-adour-garonne.fr wrote:

 Hi list,
 I am looking after a simple method to deploy some custom python plugins on 
 several servers inside our company network.

 As I understand it, today we have 3 solutions:
  1- copy the plugins in C:\Program Files\Quantum GIS 
 Wroclaw\apps\qgis\python\plugins of each server. We need to disturb our admin 
 sys for this.
  2-  copy the plugins in each personnal user directory of these server: I 
 prefer the first method... and my admin sys too
  3- create a repository and let the users install and update plugins 
 themselves.. They won't do the job I'm afraid.

 Ideally, we would like to put the plugins on a single shared network 
 directory. Is there a way to have qgis look in it? No symbolic link on 
 windows xp as far as I know.

You can set QGIS_PLUGINPATH environment variable with a list of extra
paths where to look for plugins. If specifying more one path then
split them using semicolon on windows (colon on linux).

Martin
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Move python plugin to a network directory

2011-08-11 Thread Martin Dobias
On Thu, Aug 11, 2011 at 10:45 AM, HAUBOURG
regis.haubo...@eau-adour-garonne.fr wrote:
 Thanks Martin,
 we tried it unsuccessfully. Does this work for python plugins?  Do we have to 
 modify he registry key to add the new plugin?

Yes it shall work for python plugins. No need to modify registry.
You can check whether QGIS has picked up the extra paths: open the
python console in QGIS and type:

 qgis.utils.plugin_paths

It will print a list of paths used to search for python plugins. By
default there is always the system plugin path and per user plugin
path.

 Cheers,
 Régis

 PS: Good news that night, our sys admin did the qgis 1.7 install to our 70 
 GIS citrix potential users...

Nice. It would interesting to hear how do you use QGIS in your organization.

Martin
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Move python plugin to a network directory

2011-08-11 Thread Paolo Cavallini
Il 11/08/2011 10:57, Martin Dobias ha scritto:

 Nice. It would interesting to hear how do you use QGIS in your organization.

and possibly write a case study for
http://qgis.org/en/community/qgis-case-studies.html
thanks.
-- 
Paolo Cavallini: http://www.faunalia.it/pc
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Move python plugin to a network directory

2011-08-10 Thread HAUBOURG
 
Hi list, 
I am looking after a simple method to deploy some custom python plugins on 
several servers inside our company network. 

As I understand it, today we have 3 solutions:
 1- copy the plugins in C:\Program Files\Quantum GIS 
Wroclaw\apps\qgis\python\plugins of each server. We need to disturb our admin 
sys for this.
 2-  copy the plugins in each personnal user directory of these server: I 
prefer the first method... and my admin sys too
 3- create a repository and let the users install and update plugins 
themselves.. They won't do the job I'm afraid.

Ideally, we would like to put the plugins on a single shared network directory. 
Is there a way to have qgis look in it? No symbolic link on windows xp as far 
as I know. 
Can we use the searchPathsForPlugins registry key 
[HKEY_CURRENT_USER\Software\QuantumGIS\QGIS\Plugins] for this ? We tried some 
unsuccessful tests with it. 

  
Régis___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user