Skip to content

Commit

Permalink
Use purelib rather than platlib
Browse files Browse the repository at this point in the history
azote is pure python with no compiled modules. setup.py installs correctly in /usr/lib/python3.10/site-packages but get_path('platlib') returns /usr/lib64 and fails to run.
  • Loading branch information
bhepple authored Jun 1, 2022
1 parent f55fdd3 commit 4e77e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/azote
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh

LIB=$(python3 -Ic "from sysconfig import get_path; print(get_path('platlib'))")
LIB=$(python3 -Ic "from sysconfig import get_path; print(get_path('purelib'))")
cd $LIB/azote
exec /usr/bin/python3 main.py "$@"

0 comments on commit 4e77e9d

Please sign in to comment.