-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge some fixes into stable #6357
Conversation
Don't merge yet. We need to include a fix for #6358. |
Also #6362. |
@@ -5,7 +5,8 @@ | |||
|
|||
os.environ['KIVY_DATA_DIR'] = os.path.join(root, 'data') | |||
os.environ['KIVY_MODULES_DIR'] = os.path.join(root, 'modules') | |||
os.environ['GST_PLUGIN_PATH'] = os.path.join(sys._MEIPASS, 'gst-plugins') | |||
os.environ['GST_PLUGIN_PATH'] = '{}{}{}'.format( | |||
sys._MEIPASS, os.pathsep, os.path.join(sys._MEIPASS, 'gst-plugins')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why X/(X/Y) ? (X=_MEIPASS, Y=gst-plugins) ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
os.pathsep
is not the directory join (/
), this is X;X/Y
. because both directories are on the path. On windows, the plugins are in the root.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I.e. on windows the plugins are in the same directory as the main binaries. We don't separate them out. So pyinstaller puts all the deps binaries in X
, so it should be in the plugin path.
(cherry picked from commit e45d6d8)
It also bumps stable to 1.11.0.post0 so we can upload the fixes to pypi.