aboutsummaryrefslogtreecommitdiffstats
path: root/pyinst.py
diff options
context:
space:
mode:
authorPccode66 <49125134+Pccode66@users.noreply.github.com>2021-02-24 15:45:56 -0300
committerGitHub <noreply@github.com>2021-02-25 00:15:56 +0530
commit7a5c1cfe93924351387b44919b3c0b2f66c4b883 (patch)
tree6da63f3d7b16cf7d4b9fdb29b029125cab8bd0d3 /pyinst.py
parentc4218ac3f1146daac20308439cdc374e3561101a (diff)
downloadhypervideo-pre-7a5c1cfe93924351387b44919b3c0b2f66c4b883.tar.lz
hypervideo-pre-7a5c1cfe93924351387b44919b3c0b2f66c4b883.tar.xz
hypervideo-pre-7a5c1cfe93924351387b44919b3c0b2f66c4b883.zip
Completely change project name to yt-dlp (#85)
* All modules and binary names are changed * All documentation references changed * yt-dlp no longer loads youtube-dlc config files * All URLs changed to point to organization account Co-authored-by: Pccode66 Co-authored-by: pukkandan
Diffstat (limited to 'pyinst.py')
-rw-r--r--pyinst.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/pyinst.py b/pyinst.py
index e7b6dba25..005a5d9e2 100644
--- a/pyinst.py
+++ b/pyinst.py
@@ -23,7 +23,7 @@ FILE_DESCRIPTION = 'Media Downloader%s' % (' (32 Bit)' if _x86 else '')
# print('Changing working directory to %s' % root_dir)
# os.chdir(root_dir)
-exec(compile(open('youtube_dlc/version.py').read(), 'youtube_dlc/version.py', 'exec'))
+exec(compile(open('yt_dlp/version.py').read(), 'yt_dlp/version.py', 'exec'))
VERSION = locals()['__version__']
VERSION_LIST = VERSION.split('.')
@@ -47,17 +47,17 @@ VERSION_FILE = VSVersionInfo(
StringFileInfo([
StringTable(
'040904B0', [
- StringStruct('Comments', 'Youtube-dlc%s Command Line Interface.' % _x86),
- StringStruct('CompanyName', 'https://github.com/pukkandan/yt-dlp'),
+ StringStruct('Comments', 'yt-dlp%s Command Line Interface.' % _x86),
+ StringStruct('CompanyName', 'https://github.com/yt-dlp'),
StringStruct('FileDescription', FILE_DESCRIPTION),
StringStruct('FileVersion', VERSION),
- StringStruct('InternalName', 'youtube-dlc%s' % _x86),
+ StringStruct('InternalName', 'yt-dlp%s' % _x86),
StringStruct(
'LegalCopyright',
- 'pukkandan@gmail.com | UNLICENSE',
+ 'pukkandan.ytdlp@gmail.com | UNLICENSE',
),
- StringStruct('OriginalFilename', 'youtube-dlc%s.exe' % _x86),
- StringStruct('ProductName', 'Youtube-dlc%s' % _x86),
+ StringStruct('OriginalFilename', 'yt-dlp%s.exe' % _x86),
+ StringStruct('ProductName', 'yt-dlp%s' % _x86),
StringStruct('ProductVersion', '%s%s' % (VERSION, _x86)),
])]),
VarFileInfo([VarStruct('Translation', [0, 1200])])
@@ -65,7 +65,7 @@ VERSION_FILE = VSVersionInfo(
)
PyInstaller.__main__.run([
- '--name=youtube-dlc%s' % _x86,
+ '--name=yt-dlp%s' % _x86,
'--onefile',
'--icon=devscripts/cloud.ico',
'--exclude-module=youtube_dl',
@@ -74,6 +74,6 @@ PyInstaller.__main__.run([
'--hidden-import=mutagen',
'--hidden-import=Crypto',
'--upx-exclude=vcruntime140.dll',
- 'youtube_dlc/__main__.py',
+ 'yt_dlp/__main__.py',
])
-SetVersion('dist/youtube-dlc%s.exe' % _x86, VERSION_FILE)
+SetVersion('dist/yt-dlp%s.exe' % _x86, VERSION_FILE)