Forum

#1 2013-05-22 20:49:19

pixo
Member

PySide and python Couchdb in Guerilla !

Hello guys,

I just wanted to share some test that i did .
PySide and Python CouchDb is Working inside Guerilla !!
I just have few glitches with the png lib.

http://www.3dpression.com/blog/wp-content/gallery/rnd/screenshot-from-2013-05-22-003102.png

Last edited by pixo (2013-05-22 20:52:37)

Offline

 

#2 2013-05-29 15:03:48

MattRM
Member

Re: PySide and python Couchdb in Guerilla !

Hi Pixo,

hummm, little question, how do you activated python inside guerilla ? I'm quite interested wink

A++

Matt

Offline

 

#3 2013-05-29 20:10:34

pixo
Member

Re: PySide and python Couchdb in Guerilla !

Hello Matt !

You have to set some environment variables.
For instance i created a little bash script under linux.

#####################################################
#!/bin/bash

export LD_LIBRARY_PATH="PATHTOPYSIDE/lib:$LD_LIBRARY_PATH"
export GUERILLA_PYTHON_LIBRARY="PATHTOPYTHON_FILE/libpython2.6.so"
export PYTHONHOME="PATHTOPYTHON_DIRECTORY/python2.6"
export PYTHONPATH="blalbla/lib/python2.6/lib-dynload:blalbla/lib/python2.6/site-packages:blalbla/python26.zip:blalbla/lib/python2.6:blalbla/python2.6/plat-linux2:blalbla/lib/python2.6/lib-tk:blalbla/lib/python2.6/lib-old:$PYTHONPATH"

path_to_guerilla_bin/guerilla $@
#####################################################

I'm not sure you need all that paths in the PYTHONPATH , i didn't clean it after my test.

Last edited by pixo (2013-05-29 20:12:56)

Offline

 

#4 2013-05-30 16:20:04

MattRM
Member

Re: PySide and python Couchdb in Guerilla !

Hi,

Oki, thanks for your answer, will try it wink

Matt

Offline

 

#5 2013-05-31 02:08:33

pixo
Member

Re: PySide and python Couchdb in Guerilla !

By the way for linux people the "locate" command may help to find some proper paths.

Last edited by pixo (2013-05-31 02:12:53)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB