Opened 17 years ago
Closed 17 years ago
#781 closed enhancement (fixed)
Python plugins installed in user's home directory
Reported by: | perrygeo | Owned by: | perrygeo |
---|---|---|---|
Priority: | minor: annoyance | Milestone: | |
Component: | Python plugins and bindings | Version: | Trunk |
Keywords: | plugin repository | Cc: | perrygeo@… |
Must Fix for Release: | No | Platform: | Debian |
Platform Version: | Awaiting user input: | yes |
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.
Attachments (1)
Change History (5)
comment:1 by , 17 years ago
Cc: | added |
---|
by , 17 years ago
Attachment: | qgis_homedir_plugins.diff added |
---|
comment:2 by , 17 years ago
Type: | defect → enhancement |
---|
patch to allow python plugins in the user's home dir