Feature request #781
Python plugins installed in user's home directory
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.
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