Skip to content

Commit

Permalink
Revert "Remove old class map download code"
Browse files Browse the repository at this point in the history
This reverts commit fc27a88.
  • Loading branch information
nyalldawson committed Sep 11, 2024
1 parent 6885a66 commit c22ab5a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/build-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ echo "RELEASE TAG: ${RELEASE_TAG}"
echo "PACKAGE LIMIT: ${PACKAGE}"
echo "SINGLE CLASS: ${CLASS}"

# download class_map until correctly installed
# TODO: remove this when https://github.com/qgis/QGIS/pull/58200 is merged
for module in "3d" "analysis" "core" "gui" "server"; do
wget -O /usr/lib/python3/dist-packages/qgis/${module}/class_map.yaml https://raw.githubusercontent.com/qgis/QGIS/${RELEASE_TAG}/python/${module}/class_map.yaml
done

if [[ -n ${QGIS_BUILD_DIR} ]]; then
export PYTHONPATH=${PYTHONPATH}:$QGIS_BUILD_DIR/output/python
#export PATH=$PATH:/usr/local/bin/:$QGIS_BUILD_DIR/build/output/bin
Expand Down

0 comments on commit c22ab5a

Please sign in to comment.