Sunday, 2013-08-04

*** tpb has joined #timvideos00:00
-rajaniemi.freenode.net- [freenode-info] channel flooding and no channel staff around to help? Please check with freenode support: http://freenode.net/faq.shtml#gettinghelp00:00
*** mithro has joined #timvideos07:31
*** hyades has joined #timvideos11:04
CarlFKhyades: >>> import sys13:04
CarlFK>>> sys.path13:04
CarlFK['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', .....13:04
CarlFKThat will show you where python looks for imports13:05
CarlFK>>> import reportlab13:05
CarlFK>>> reportlab.__file__13:05
CarlFK'/usr/lib/python2.7/dist-packages/reportlab/__init__.pyc'13:05
CarlFKwhere python found it13:11
hyadesCarlFK: okay13:14
hyadesthnx13:18
CarlFKhyades: you probably don't need to know this.. but here is some of how sys.path gets set: http://hg.python.org/cpython/file/c3e6df110737/Lib/site.py13:36
tpbTitle: cpython: c3e6df110737 Lib/site.py (at hg.python.org)13:36
CarlFKI looked at that once to figure out how .pth files were processed13:36
CarlFKi luv open source :)13:36
hyades:)13:37
hyadesin my code I do something like "from gi.repository import Gst"13:40
hyadesif i install gstreamer from ubuntu packages, as shown here https://wiki.ubuntu.com/Novacut/GStreamer1.013:41
tpbTitle: Novacut/GStreamer1.0 - Ubuntu Wiki (at wiki.ubuntu.com)13:41
hyadesthis is where i find them13:42
hyades>>> import gi >>> gi.__file__ '/usr/lib/python2.7/dist-packages/gi/__init__.pyc'13:42
hyadesnow if i install from source13:42
hyadesim not sure where to find them :)13:43
hyadestill now I was using the system's(ubuntu package) version..but that might not be the actually correct13:45
hyadesthough it works great13:46
CarlFK"install from source"  the configure script  (./configure or maybe configure.sh) will define a default location ...  ./configure --help may show what it is13:47
hyadesyes13:47
CarlFKhaving 2 installs of the same thing can get messy if the older one doesn't get removed or replaced13:48
hyadesexactly13:48
hyadesi think this is the package i need to install extra for python bindings of gstreamer13:49
hyadeshttp://cgit.freedesktop.org/gstreamer/gst-python13:49
tpb<http://ln-s.net/-ent> (at cgit.freedesktop.org)13:49
hyadesbut im not sure if this is sufficient or not13:50
*** shenki has joined #timvideos13:52
*** hyades has quit IRC13:55
*** shenki_ has quit IRC13:56
CarlFKhttps://launchpad.net/~gstreamer-developers/+archive/ppa13:57
tpb<http://ln-s.net/7Ykn> (at launchpad.net)13:57
*** hyades has joined #timvideos14:00
*** hyades has quit IRC14:59
*** hyades has joined #timvideos15:03
*** CarlFK has quit IRC16:09
*** mithro has quit IRC16:57
*** CarlFK has joined #timvideos17:39
*** CarlFK has quit IRC17:48
*** hyades has quit IRC18:00
*** hyades has joined #timvideos18:26
*** CarlFK has joined #timvideos19:07
*** hyades has quit IRC19:34
*** hyades has joined #timvideos19:51
*** CarlFK has quit IRC19:59
*** hyades has quit IRC22:28

Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!