Update to 4.2.2, remove docker-entrypoint.sh and encapsulation.sh, use Python3_Crosss_Wrapper
This commit is contained in:
4
wrapper/FreeBSD.sh
Executable file
4
wrapper/FreeBSD.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
pkg install python37 py37-requests py37-pip py37-lxml py37-pillow py37-cloudscraper py37-pysocks git zip py37-pyinstaller py37-beautifulsoup448
|
||||
pip install pyquery
|
||||
pyinstaller --onefile AV_Data_Capture.py --hidden-import ADC_function.py --hidden-import core.py
|
||||
cp config.ini ./dist
|
||||
15
wrapper/Linux.sh
Executable file
15
wrapper/Linux.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
if ['$(dpkg --print-architecture)' != 'amd64'] || ['$(dpkg --print-architecture)' != 'i386']; then
|
||||
apt install python3 python3-pip git sudo libxml2-dev libxslt-dev build-essential wget nano libcmocka-dev libcmocka0 -y
|
||||
apt install zlib* libjpeg-dev -y
|
||||
wget https://files.pythonhosted.org/packages/82/96/21ba3619647bac2b34b4996b2dbbea8e74a703767ce24192899d9153c058/pyinstaller-4.0.tar.gz
|
||||
tar -zxvf pyinstaller-4.0.tar.gz
|
||||
cd pyinstaller-4.0/bootloader
|
||||
sed -i "s/ '-Werror',//" wscript
|
||||
python3 ./waf distclean all
|
||||
cd ../
|
||||
python3 setup.py install
|
||||
cd ../
|
||||
fi
|
||||
pip3 install -r requirements.txt
|
||||
pyinstaller --onefile AV_Data_Capture.py --hidden-import ADC_function.py --hidden-import core.py
|
||||
cp config.ini ./dist
|
||||
Reference in New Issue
Block a user