Clean out of used modules #2

This commit is contained in:
yoshiko2
2022-05-12 00:40:53 +08:00
parent 9722f43f17
commit f5cd1e38d0
3 changed files with 2 additions and 3 deletions

View File

@@ -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

View File

@@ -1,5 +1,4 @@
requests
pyquery
lxml
beautifulsoup4
pillow

View File

@@ -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" \