mirror of
https://github.com/M4TH1EU/easy-local-alpr.git
synced 2025-09-13 15:43:05 +00:00
14 lines
520 B
Bash
Executable File
14 lines
520 B
Bash
Executable File
#!/bin/bash
|
|
|
|
VERSION=1.6.0
|
|
|
|
rm -rf buildenv build dist *.spec
|
|
python3.10 -m venv buildenv
|
|
source buildenv/bin/activate
|
|
python3.10 -m pip install --upgrade pip pyinstaller
|
|
python3.10 -m pip install ./wheel/ultimateAlprSdk-3.14.1-cp310-cp310-linux_x86_64.whl
|
|
pip install -r requirements.txt
|
|
|
|
pyinstaller --noconfirm --console --add-data libs:. --add-data assets:assets --add-data static:static --add-data templates:templates --name easy-local-alpr-$VERSION-openvinocpu_linux_x86_64 "alpr_api.py"
|
|
deactivate
|
|
rm -rf buildenv |