aboutsummaryrefslogtreecommitdiffstats
path: root/pyinst.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-10-23 02:07:20 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-10-23 02:09:10 +0530
commit49a57e70a9105dfe1671e96bef24663bce5b563d (patch)
tree412489408925d1d454784382f2bd57dd5f1862fa /pyinst.py
parent457f6d68668704c20debc40ca77768796656d98b (diff)
downloadhypervideo-pre-49a57e70a9105dfe1671e96bef24663bce5b563d.tar.lz
hypervideo-pre-49a57e70a9105dfe1671e96bef24663bce5b563d.tar.xz
hypervideo-pre-49a57e70a9105dfe1671e96bef24663bce5b563d.zip
[cleanup] misc
Diffstat (limited to 'pyinst.py')
-rw-r--r--pyinst.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/pyinst.py b/pyinst.py
index 0a695289b..c7ef2761b 100644
--- a/pyinst.py
+++ b/pyinst.py
@@ -24,16 +24,15 @@ def main():
opts = parse_options()
version = read_version()
- suffix = '_x86' if ARCH == '32' else '_macos' if OS_NAME == 'Darwin' else ''
+ suffix = '_macos' if OS_NAME == 'Darwin' else '_x86' if ARCH == '32' else ''
final_file = 'dist/%syt-dlp%s%s' % (
'yt-dlp/' if '--onedir' in opts else '', suffix, '.exe' if OS_NAME == 'Windows' else '')
print(f'Building yt-dlp v{version} {ARCH}bit for {OS_NAME} with options {opts}')
- print('Remember to update the version using "devscripts/update-version.py"')
+ print('Remember to update the version using "devscripts/update-version.py"')
if not os.path.isfile('yt_dlp/extractor/lazy_extractors.py'):
print('WARNING: Building without lazy_extractors. Run '
- '"devscripts/make_lazy_extractors.py" "yt_dlp/extractor/lazy_extractors.py" '
- 'to build lazy extractors', file=sys.stderr)
+ '"devscripts/make_lazy_extractors.py" to build lazy extractors', file=sys.stderr)
print(f'Destination: {final_file}\n')
opts = [