Skip to content

Commit

Permalink
Add compatibility with python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbruno committed Dec 25, 2024
1 parent f4098b1 commit 4bd599d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pkgbuild/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,16 @@ package() {
mkdir -p usr/lib/python3.11/site-packages
cd usr/lib/python3.11/site-packages
ln -s ../../python3.12/site-packages/web web
elif [[ -e usr/lib/python3.11 ]]; then
rm -R usr/lib/python3.11/site-packages/web/__pycache__
mkdir -p usr/lib/python3.13/site-packages
cd usr/lib/python3.13/site-packages
ln -s ../../python3.12/site-packages/web web
elif [[ -e usr/lib/python3.13 ]]; then
rm -R usr/lib/python3.13/site-packages/web/__pycache__
mkdir -p usr/lib/python3.12/site-packages
cd usr/lib/python3.12/site-packages
ln -s ../../python3.13/site-packages/web web
mkdir -p usr/lib/python3.11/site-packages
cd usr/lib/python3.11/site-packages
ln -s ../../python3.11/site-packages/web web
fi
}

0 comments on commit 4bd599d

Please sign in to comment.