[Qgis-developer] Using Eclipse for QGIS Python development Ubuntu 16.04 64-bit - how ?

gordon at shieldaig.com gordon at shieldaig.com
Tue Oct 25 19:01:00 PDT 2016


Setting up PyQGIS Python interpreter.  Eclipse - Oxygen, how do you add 
hidden folders, when you cannot see them, using the Libraries tab - new 
folder button?

If you understand great - I am on page 94 of Python Programming Cookbook 
(2015) for those that don't follow.

 From the QGIS Python Console for QGIS 2.16:
import sys
sys.path
['/usr/share/qgis/python/plugins/processing', 
'/home/gordon/.qgis2/python/plugins/GeoCoding/libs', 
'/usr/share/qgis/python', u'/home/gordon/.qgis2/python', 
u'/home/gordon/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', 
'/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', 
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', 
'/usr/lib/python2.7/lib-dynload', 
'/home/gordon/.local/lib/python2.7/site-packages', 
'/usr/local/lib/python2.7/dist-packages', 
'/usr/lib/python2.7/dist-packages', 
'/usr/lib/python2.7/dist-packages/PILcompat', 
'/usr/lib/python2.7/dist-packages/gtk-2.0', 
u'/home/gordon/.qgis2//python', 
'/home/gordon/.qgis2/python/plugins/gearthview/ext-libs', 
'/home/gordon/.qgis2/python/plugins/lifemapperTools/LmShared', 
'/home/gordon/.qgis2/python/plugins', '.']
qgis
<module 'qgis' from 
'/usr/lib/python2.7/dist-packages/qgis/__init__.pyc'>

I was planning to Library - add New Folder  
/home/gordon/.qgis/python/plugins but the tool does not allow selection 
of .qgis

If this isn't the best way, how should it be done?

Thanks for any tips.


More information about the Qgis-developer mailing list