2023-09-25 10:27:42 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2024-01-09 18:37:30 -05:00
|
|
|
# python version must match lowest supported (3.9)
|
2023-09-25 10:27:42 -04:00
|
|
|
major=3
|
2024-01-09 18:37:30 -05:00
|
|
|
minor=9
|
2023-09-25 10:27:42 -04:00
|
|
|
if ! python -c "import sys; assert sys.version_info.major == $major and sys.version_info.minor == $minor"; then
|
2023-12-18 23:48:21 -08:00
|
|
|
echo "python version not equal to expected $major.$minor: $(python --version)"
|
|
|
|
exit 1
|
2023-09-25 10:27:42 -04:00
|
|
|
fi
|
|
|
|
|
2023-11-02 10:17:35 -05:00
|
|
|
pushd ./requirements || exit
|
|
|
|
make clean
|
|
|
|
make all
|
|
|
|
popd || exit
|
2023-10-26 12:22:40 -05:00
|
|
|
|
2023-11-02 10:17:35 -05:00
|
|
|
cp requirements/build.txt docs/requirements.txt
|