From f5cd1e38d00c3a102016fbb8eacd0db1ac1b6028 Mon Sep 17 00:00:00 2001 From: yoshiko2 Date: Thu, 12 May 2022 00:40:53 +0800 Subject: [PATCH] Clean out of used modules #2 --- docker/Dockerfile | 2 +- requirements.txt | 1 - wrapper/FreeBSD.sh | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index ce88899..0011d27 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -10,7 +10,7 @@ RUN apt-get update \ && mv AV_Data_Capture-master /jav \ && cd /jav \ && ( pip install --no-cache-dir -r requirements.txt || true ) \ - && pip install --no-cache-dir requests pyquery lxml Beautifulsoup4 pillow \ + && pip install --no-cache-dir requests lxml Beautifulsoup4 pillow \ && apt-get purge -y wget WORKDIR /jav diff --git a/requirements.txt b/requirements.txt index 7b63d8e..4f42b58 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ requests -pyquery lxml beautifulsoup4 pillow diff --git a/wrapper/FreeBSD.sh b/wrapper/FreeBSD.sh index 7a179d9..9e1d0c0 100755 --- a/wrapper/FreeBSD.sh +++ b/wrapper/FreeBSD.sh @@ -1,5 +1,5 @@ pkg install python38 py38-requests py38-pip py38-lxml py38-pillow py38-cloudscraper py38-pysocks git zip py38-beautifulsoup448 py38-mechanicalsoup -pip install pyquery pyinstaller +pip install pyinstaller pyinstaller --onefile Movie_Data_Capture.py --hidden-import ADC_function.py --hidden-import core.py \ --hidden-import "ImageProcessing.cnn" \ --add-data "$(python3.8 -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1):cloudscraper" \