From b397406eced37b8d26034902cb3d6e2f24483a0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=A0=E8=90=9D=E6=9C=89=E7=82=B9=E9=85=B8?= Date: Fri, 13 Sep 2024 02:51:04 +0000 Subject: [PATCH] update setup.py. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 菠萝有点酸 --- setup.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/setup.py b/setup.py index de9f007..1ef2b2a 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,4 @@ # 这个文件是用来快速初始化的 -# import pip import argparse import subprocess import sys @@ -9,16 +8,13 @@ from typing import List, Optional def pip_install(proxy: Optional[str], args: List[str]) -> None: if proxy is None: - # pip.main(["install", f"--proxy={proxy}", *args]) subprocess.run( [sys.executable, "-m", "pip", "install", "-i", f"https://pypi.tuna.tsinghua.edu.cn/simple", *args], - # capture_output=False, check=True, ) else: subprocess.run( [sys.executable, "-m", "pip", "install", f"--proxy={proxy}",*args], - # capture_output=False, check=True, ) -- Gitee