Feature request #781

Python plugins installed in user's home directory

Added by perrygeo - about 17 years ago. Updated about 17 years ago.

Status:Closed
Priority:Low
Assignee:perrygeo -
Category:Python plugins
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:10840

Description

In discussing the idea of a plugin repository plugin (a gui allowing you to search for and install new python plugins), the major hangup is that of permissions. Many users will be running qgis as a non-privledged user and will not have write access to the system plugin directory (ie /usr/share/qgis/python/plugins )

It would be beneficial to, in addition to the system plugin directory, to allow each user their own plugin directory, preferably somewhere like ~/.qgis/python/plugins.

I've attached a patch as proof-of-concept. Here's the summary:
- ~/.qgis/python/plugins is added to the python sys.path.
- the application and plugin manager search both the system and the users plugin directory for the list of available plugins.

If someone could take a look at the patch and try it out, it would be greatly appreciated.

qgis_homedir_plugins.diff Magnifier - patch to allow python plugins in the user's home dir (4.22 KB) perrygeo -, 2007-10-21 01:20 PM

History

#1 Updated by Gary Sherman about 17 years ago

Test and works on both Linux and OS X

#2 Updated by Gary Sherman about 17 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Committed to HEAD

Also available in: Atom PDF