From 7ca9b435adf8657b5c04ef7cc1d91802faeb1b7e Mon Sep 17 00:00:00 2001 From: zackees Date: Wed, 10 May 2023 01:24:43 -0700 Subject: [PATCH] fixup upload script --- src/video_subtitles/gui.py | 2 +- upload_package.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/video_subtitles/gui.py b/src/video_subtitles/gui.py index 89a55b5..f06720e 100644 --- a/src/video_subtitles/gui.py +++ b/src/video_subtitles/gui.py @@ -88,7 +88,7 @@ def __init__(self, on_drop_callback): # pylint: disable=too-many-statements model_layout = QHBoxLayout() self.model_label = QLabel(self) - self.model_label.setText("Model:") + self.model_label.setText("AI Transcription Model:") self.model_select = QComboBox(self) self.model_select.addItems(MODELS.keys()) self.model_select.setCurrentText(settings.model()) diff --git a/upload_package.py b/upload_package.py index e7bdffb..f3acc58 100644 --- a/upload_package.py +++ b/upload_package.py @@ -10,7 +10,6 @@ import sys PYTHON_EXE = sys.executable -PIP_EXE = os.path.join(os.path.dirname(PYTHON_EXE), "pip") # Equivalent to 'rm -rf build dist' if os.path.exists('build'): @@ -19,7 +18,7 @@ shutil.rmtree('dist', ignore_errors=True) # Equivalent to 'pip install wheel twine' -subprocess.check_call([PIP_EXE, 'install', 'wheel', 'twine']) +subprocess.check_call(["pip", 'install', 'wheel', 'twine']) print("Building Source and Wheel (universal) distribution…") # Equivalent to 'python setup.py sdist bdist_wheel --universal'