Pygentic-AI/bin/python_build.sh

12 lines
311 B
Bash
Executable File

#!/bin/bash
cd /opt/pygentic_ai || exit
python3.12 -m venv .venv
source .venv/bin/activate
python -m pip install -U pip pip-tools setuptools wheel
for FILE in core_requirements dev_requirements
do
pip-compile --resolver=backtracking --upgrade $FILE.in
done
pip-sync core_requirements.txt dev_requirements.txt