always use requirements.txt
This commit is contained in:
parent
c7a580ca8a
commit
50ff7ef6bc
@ -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.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user