mirror of
https://github.com/jellyfin/jellyfin-mpv-shim.git
synced 2024-11-27 00:00:37 +00:00
Revert "Don't add packages for pyinstaller."
This reverts commit 839ad746e9
.
This commit is contained in:
parent
839ad746e9
commit
03b6ca7a3d
20
setup.py
20
setup.py
@ -19,20 +19,16 @@ if sys.platform.startswith("win32"):
|
||||
|
||||
packages = [
|
||||
"jellyfin_mpv_shim",
|
||||
"jellyfin_mpv_shim.display_mirror"
|
||||
"jellyfin_mpv_shim.display_mirror",
|
||||
"jellyfin_mpv_shim.messages",
|
||||
"jellyfin_mpv_shim.default_shader_pack",
|
||||
"jellyfin_mpv_shim.default_shader_pack.shaders",
|
||||
"jellyfin_mpv_shim.integration"
|
||||
]
|
||||
|
||||
if not hasattr(sys, "_MEIPASS"):
|
||||
packages.extend([
|
||||
"jellyfin_mpv_shim.messages",
|
||||
"jellyfin_mpv_shim.default_shader_pack",
|
||||
"jellyfin_mpv_shim.default_shader_pack.shaders",
|
||||
"jellyfin_mpv_shim.integration"
|
||||
])
|
||||
|
||||
for dir in os.listdir("jellyfin_mpv_shim/messages"):
|
||||
if os.path.isdir("jellyfin_mpv_shim/messages/" + dir + "/LC_MESSAGES"):
|
||||
packages.append("jellyfin_mpv_shim.messages." + dir + ".LC_MESSAGES")
|
||||
for dir in os.listdir("jellyfin_mpv_shim/messages"):
|
||||
if os.path.isdir("jellyfin_mpv_shim/messages/" + dir + "/LC_MESSAGES"):
|
||||
packages.append("jellyfin_mpv_shim.messages." + dir + ".LC_MESSAGES")
|
||||
|
||||
setup(
|
||||
name="jellyfin-mpv-shim",
|
||||
|
Loading…
Reference in New Issue
Block a user