There is some info in the readme about this.  Set PATH and PYTHONPATH so the 
QGIS stuff can be found.  Though maybe you're doing this already since it does 
find qgis.core.  The important part is that the QGIS path is at the top of the 
sys.path list, so python finds the bundled pyqt before any pyqt installed in 
site-packages.

There should be no need to copy anything to inside QGIS.  site-packages is just 
another search path for Python to find things.

On May 11, 2011, at 9:44 AM, Luca Mandolesi wrote:

> 
> 
> On Wed, May 11, 2011 at 4:22 PM, William Kyngesburye <wokl...@kyngchaos.com> 
> wrote:
> Well, my package is supposed to work on its own (with my frameworks).  It 
> should not be trying to use an external SIP/PyQt.
> 
> Are you trying to import from within a QGIS python console (QGIS running) or 
> from a Terminal (no QGIS running)?
> 
> Yes William, I'm trying to import qgis.core into a standalone app, outside 
> QGis, using for testing the python IDLE.
> 
> P.S.: Also in Qgis 1.7 to use a python module not included into your 
> distribution, it's necessary to copy the module from the site-packages of 
> python framework within the python resources of Qgis.app?
> _______________________________________________
> 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/

The equator is so long, it could encircle the earth completely once.

_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to