always use requirements.txt

This commit is contained in:
josc146 2023-08-27 23:52:52 +08:00
parent c7a580ca8a
commit 50ff7ef6bc
4 changed files with 0 additions and 1 deletions

View File

@ -155,7 +155,6 @@ func (a *App) InstallPyDep(python string, cnMirror bool) (string, error) {
"exit" "exit"
if !cnMirror { if !cnMirror {
installScript = strings.Replace(installScript, " -i https://pypi.tuna.tsinghua.edu.cn/simple", "", -1) installScript = strings.Replace(installScript, " -i https://pypi.tuna.tsinghua.edu.cn/simple", "", -1)
installScript = strings.Replace(installScript, "requirements.txt", "requirements_versions.txt", -1)
} }
err = os.WriteFile("./install-py-dep.bat", []byte(installScript), 0644) err = os.WriteFile("./install-py-dep.bat", []byte(installScript), 0644)
if err != nil { if err != nil {

Binary file not shown.