-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
49 lines (44 loc) · 1.34 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
from cx_Freeze import setup, Executable
from sys import platform
base = None
if (platform == "win32"):
base = "Win32GUI"
executables = [
Executable(
script="src/Youtube Downloader.py",
base=base,
icon="src/images/icons/youtube_downloader.ico"
)
]
include_files = ["src/images/icons/youtube_downloader.ico"]
packages = ["ctypes", "imp", "PySide6", "yt_dlp", "cx_Freeze", "PyInstaller", "pyperclip", "regex", "adblockparser"]
excludes = [
"PyQt5", "PyQt4", "reportlab", "matplotlib", "numba", "scipy", "sqlalchemy", "sqlite3", "soupsieve",
"llvmlite", "black", "bs4", "jupyter", "tornado", "pygments"
]
options = {
'build_exe': {
'packages': packages,
'excludes': excludes,
'include_files': include_files,
},
}
package_data = {
'3rd': ['*'],
'images': ['*', 'icons/*', 'images/*'],
'themes': ['*'],
'utils': ['*'],
'widgets': ['*'],
'ytb': ['*'],
}
setup(
name="Youtube Downloader",
packages=['utils', 'widgets', 'ytb', '3rd', 'images', 'themes'],
package_dir={'': 'src'},
package_data=package_data,
options=options,
version="0.0.3",
description='Youtube Downloader is a Youtube Browser application based on PySide6 and yt-dlp.'
+ 'And it allows you to download single videos, playlists or queues.',
executables=executables
)