pygst lies directly in site-packages and basically just contains the
require() function. So in a script you always do `import pygst`,
`pygst.require(version)` and it will add the correct gst-<version>
directory (there can be several concurrent different versions) to
sys.path. Then, you do `import gst`.
Am 26.04.2010 09:36, schrieb Giovanni Bajo:
On Sat, 24 Apr 2010 22:34:42 +0200, Florian Höch<[email protected]>
wrote:
Correction: pyinstaller sees all imports, but it fails to add gst
because the actual directory containing it is only added to sys.path
when pygst.require is executed. You can check the warnfile, you should
see a warning that gst could not be imported.
So, how does the "import pygst" line ever usually work?
--
Florian Höch
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.