mirror of
https://github.com/RoyalnetworkTR/turkanime-client.git
synced 2026-09-25 00:19:52 +03:00
- Updated JikanCache and JikanClient classes to use Optional types for parameters. - Improved error handling and dynamic video ID fetching in animecix.py. - Removed unused Animely adapter and adjusted provider priorities. - Cleaned up adapter.py by removing the SearchEngine class. - Enhanced error handling and cookie management in tranime.py. - Added direct search functionality in tranime.py to improve anime search results. - Updated title matching logic in title_matching.py to use Optional types. - Bumped version to 9.4.9.0.
44 lines
1.3 KiB
RPMSpec
44 lines
1.3 KiB
RPMSpec
# -*- mode: python ; coding: utf-8 -*-
|
|
import os
|
|
from PyInstaller.utils.hooks import collect_submodules
|
|
|
|
block_cipher = None
|
|
|
|
hiddenimports = collect_submodules('yt_dlp') + collect_submodules('curl_cffi') + collect_submodules('Crypto') + collect_submodules('customtkinter') + ['toml', 'selenium', 'selenium.webdriver']
|
|
bin_data = [('bin', 'bin')] if os.path.isdir('bin') else []
|
|
|
|
a = Analysis([
|
|
'turkanime_api/gui/main.py',
|
|
],
|
|
pathex=[],
|
|
binaries=[],
|
|
datas=[
|
|
('docs/TurkAnime.ico', 'docs'),
|
|
('docs/TurkAnime.png', 'docs'),
|
|
('gereksinimler.json', '.'),
|
|
] + bin_data,
|
|
hiddenimports=hiddenimports,
|
|
hookspath=[],
|
|
hooksconfig={},
|
|
runtime_hooks=[],
|
|
excludes=[],
|
|
win_no_prefer_redirects=False,
|
|
win_private_assemblies=False,
|
|
cipher=block_cipher,
|
|
noarchive=False)
|
|
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
|
|
|
|
exe = EXE(pyz,
|
|
a.scripts,
|
|
a.binaries,
|
|
a.zipfiles,
|
|
a.datas,
|
|
[],
|
|
name='turkanime-gui',
|
|
debug=False,
|
|
bootloader_ignore_signals=False,
|
|
strip=False,
|
|
upx=False,
|
|
console=False,
|
|
icon='docs/Turkanime.ico')
|