mirror of https://github.com/kivy/kivy.git
fix pyinstaller for gstreamer/pygame etc.
This commit is contained in:
parent
09c2f52925
commit
60b54287e0
|
@ -15,8 +15,13 @@ else:
|
|||
chdir(dirname(sys.argv[0]))
|
||||
root = join(dirname(sys.argv[0]), root)
|
||||
|
||||
|
||||
sys.path += [join(root, '_libs')]
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
sitepackages = join(root, '..', 'sitepackages')
|
||||
sys.path += [sitepackages, join(sitepackages, 'gst-0.10')]
|
||||
|
||||
environ['GST_PLUGIN_PATH'] = join(root, '..', 'gst-plugins')
|
||||
environ['KIVY_DATA_DIR'] = join(root, 'data')
|
||||
environ['KIVY_EXTS_DIR'] = join(root, 'extensions')
|
||||
|
|
Loading…
Reference in New Issue