From 49efbf0c6edcebfd649c2c8fbc327321388e75b6 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 11 Apr 2022 21:35:59 +0530 Subject: [PATCH] Remove the code to generate installer.sh from installer.py --- publish.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/publish.py b/publish.py index 86b93fff3..a2933d673 100755 --- a/publish.py +++ b/publish.py @@ -144,10 +144,6 @@ def run_website(args: Any) -> None: with open(os.path.join(publish_dir, 'current-version.txt'), 'w') as f: f.write(version) shutil.copy2(os.path.join(docs_dir, 'installer.sh'), publish_dir) - installer = os.path.join(docs_dir, 'installer.py') - subprocess.check_call([ - 'python3', '-c', f"import runpy; runpy.run_path('{installer}', run_name='update_wrapper')", - os.path.join(publish_dir, 'installer.sh')]) os.chdir(os.path.dirname(publish_dir)) subprocess.check_call(['git', 'add', 'kitty']) subprocess.check_call(['git', 'commit', '-m', 'kitty website updates'])