mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-06-27 02:30:08 +00:00

### Description Remove all uses of python3.8 --------- Co-authored-by: ryannikolaidis <1208590+ryannikolaidis@users.noreply.github.com> Co-authored-by: rbiseck3 <rbiseck3@users.noreply.github.com>
17 lines
405 B
Bash
Executable File
17 lines
405 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# python version must match lowest supported (3.9)
|
|
major=3
|
|
minor=9
|
|
if ! python -c "import sys; assert sys.version_info.major == $major and sys.version_info.minor == $minor"; then
|
|
echo "python version not equal to expected $major.$minor: $(python --version)"
|
|
exit 1
|
|
fi
|
|
|
|
pushd ./requirements || exit
|
|
make clean
|
|
make all
|
|
popd || exit
|
|
|
|
cp requirements/build.txt docs/requirements.txt
|