Odd. site-packages should be in the sys.path, so the plugin should find and import those modules.
On May 11, 2011, at 12:08 PM, Luca Mandolesi wrote: > There should be no need to copy anything to inside QGIS. site-packages is > just another search path for Python to find things. > > mmmmh....if I don't copy the modules into Resources/python folder, plugins or > others doesn't run properly. > > For example I'm using sqlalchemy, PIL and reportlab, and, if I don't copy the > module into Qgis, the plugin cannot be opened...And I test it on few > machines: mac mini, mac book pro, imac... > _______________________________________________ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer ----- William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> http://www.kyngchaos.com/ [Trillian] What are you supposed to do WITH a maniacally depressed robot? [Marvin] You think you have problems? What are you supposed to do if you ARE a maniacally depressed robot? No, don't try and answer, I'm 50,000 times more intelligent than you and even I don't know the answer... - HitchHiker's Guide to the Galaxy _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer