From b8e1aa1612f3c3bab9754e67972ea5048a2cdcc6 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 4 Jul 2022 19:55:13 +0800 Subject: [PATCH] up --- route/__init__.py | 2 +- scripts/install/freebsd.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/route/__init__.py b/route/__init__.py index d1e3863a6..ad16a8c77 100755 --- a/route/__init__.py +++ b/route/__init__.py @@ -53,7 +53,7 @@ except: str(sys.version_info[0]) app.config['SESSION_FILE_THRESHOLD'] = 1024 app.config['SESSION_FILE_MODE'] = 384 - mw.execShell("pip install flask_sqlalchemy &") + # mw.execShell("pip install flask_sqlalchemy &") app.secret_key = uuid.UUID(int=uuid.getnode()).hex[-12:] app.config['SESSION_PERMANENT'] = True diff --git a/scripts/install/freebsd.sh b/scripts/install/freebsd.sh index 7de5739ef..ffbae6b9d 100644 --- a/scripts/install/freebsd.sh +++ b/scripts/install/freebsd.sh @@ -11,10 +11,12 @@ python3 -m pip install --upgrade pip pkg install -y lsof pkg install -y sqlite3 +pkg install py38-sqlite3 + pkg install -y gcc pkg install -y autoconf pkg install -y make cmake - +pkg install -y libxslt pkg install -y libsqlite3-devel