From 50ff7ef6bc514c0b1194fb8777f562c731317794 Mon Sep 17 00:00:00 2001 From: josc146 Date: Sun, 27 Aug 2023 23:52:52 +0800 Subject: [PATCH] always use requirements.txt --- backend-golang/rwkv.go | 1 - backend-python/requirements.txt | Bin 404 -> 672 bytes backend-python/requirements_versions.txt | Bin 672 -> 0 bytes backend-python/requirements_without_cyac.txt | Bin 392 -> 650 bytes 4 files changed, 1 deletion(-) delete mode 100644 backend-python/requirements_versions.txt diff --git a/backend-golang/rwkv.go b/backend-golang/rwkv.go index 3f1c191..0369aa8 100644 --- a/backend-golang/rwkv.go +++ b/backend-golang/rwkv.go @@ -155,7 +155,6 @@ func (a *App) InstallPyDep(python string, cnMirror bool) (string, error) { "exit" if !cnMirror { 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) if err != nil { diff --git a/backend-python/requirements.txt b/backend-python/requirements.txt index dbd01c9e08494c6ae7638dcb186e3c48469d0599..f570558aca26dfd8c11dd1b732647122654f275c 100644 GIT binary patch literal 672 zcmZ9J+fKtk5JUZp#HWCo^hO{0F;PiM)ZECW2tFRLy-eZy(T)8c)IzFXn33XmG;Z1+qtKR2YixWY_na}QHsp` zdv_e@w7A~bK`aNJt*d8x+*kE_!xM7L^}@G3|K%NTQdF!~q)_L;rS4*D&@zSSG>^)O zTi@bbG`sxPsUt<}JTXIVj^LFDYJ8DoWTxnnVNIX4d(L=g$JRA5?mYRBrDYcFIwwQi odh&?WLDkzqv(R2NO(mL~L)*|SCMQZ9q6oAn&ZFRtW0J6kUv<}E%m4rY literal 404 zcmZ9IQ4WGI5JczO#H0A*jT!_bv=rNd(Zj1VTO-6647>aGP3ikp5RuT}iX#r#sucq= zpNQ#i;;`Ui6Ky2iF=92w!;$XI=1A1dj@?YN!_1y`7V-lrC08bsXmR>-37%EquQh(g zgNbq%+mmA^yIAdw>Dk%WB1g_6|J&b53Oc&9?-7_Mt4`M0S%OuXPILttE4x_+JZVeJ m7FBSgA=rCho^It#$Nqk5KN^!QNnfTDWy`FlhDnY$BI^e&tVWLj diff --git a/backend-python/requirements_versions.txt b/backend-python/requirements_versions.txt deleted file mode 100644 index f570558aca26dfd8c11dd1b732647122654f275c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 672 zcmZ9J+fKtk5JUZp#HWCo^hO{0F;PiM)ZECW2tFRLy-eZy(T)8c)IzFXn33XmG;Z1+qtKR2YixWY_na}QHsp` zdv_e@w7A~bK`aNJt*d8x+*kE_!xM7L^}@G3|K%NTQdF!~q)_L;rS4*D&@zSSG>^)O zTi@bbG`sxPsUt<}JTXIVj^LFDYJ8DoWTxnnVNIX4d(L=g$JRA5?mYRBrDYcFIwwQi odh&?WLDkzqv(R2NO(mL~L)*|SCMQZ9q6oAn&ZFRtW0J6kUv<}E%m4rY diff --git a/backend-python/requirements_without_cyac.txt b/backend-python/requirements_without_cyac.txt index a88dd0b0ea4bd191850b57a28a42d9c826d24da6..5950fac5cea7d10329be665d3450fbe7b03e70a6 100644 GIT binary patch literal 650 zcmZ9J+fKtk5JUZp#HWCo^hO`}n5ZNrYHs9GR6ZWCyyTyj?9tceaKo^C!P8s27prTsGMcAhEX0ax;iZMLf>N|Bj= z?}-DQ7S|g)h~>bub@fD#`>MJ(JR!GS&+P5_FYkDhqGGiog(e3sO&42(mMKK1eN;}| z`WE-1-Q~AQ9VuGpi5YTp1g}I;