Update Makefile
This commit is contained in:
10
Makefile
10
Makefile
@@ -7,16 +7,16 @@ SHELL = /bin/bash
|
||||
|
||||
.DEFAULT: make
|
||||
make:
|
||||
#@echo "[+]make prepare-dev"
|
||||
#sudo apt-get -y install python3.7 python3-pip
|
||||
#pip3 install -r requirements.txt
|
||||
#pip3 install pyinstaller
|
||||
@echo "[+]make prepare-dev"
|
||||
#sudo apt-get -y install python3 python3-pip
|
||||
pip3 install -r requirements.txt
|
||||
pip3 install pyinstaller
|
||||
|
||||
#@echo "[+]Set CLOUDSCRAPER_PATH variable"
|
||||
#export cloudscraper_path=$(python3 -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1)
|
||||
|
||||
@echo "[+]Pyinstaller make"
|
||||
pyinstaller --onefile AV_Data_Capture.py --hidden-import ADC_function.py --hidden-import core.py \
|
||||
pyinstaller --onefile Movie_Data_Capture.py --hidden-import ADC_function.py --hidden-import core.py \
|
||||
--add-data "`python3 -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1`:cloudscraper" \
|
||||
--add-data "`python3 -c 'import opencc as _; print(_.__path__[0])' | tail -n 1`:opencc" \
|
||||
--add-data "Img:Img" \
|
||||
|
||||
Reference in New Issue
Block a user