Revert "Don't add packages for pyinstaller."

This reverts commit 839ad746e9.
This commit is contained in:
Izzie Walton 2024-05-13 18:17:22 -04:00
parent 839ad746e9
commit 03b6ca7a3d

View File

@ -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",