python fixes

This commit is contained in:
aliriza committed 2022-12-07 13:42:59 +00:00
1 parent c8acb70aa8
commit 95849cc481
2 files changed
+12

No files matched your search

+7
View File
@@ -13,6 +13,9 @@ if [ "$1" != "" ] ; then
rm -f /usr/bin/2to3
rm -f /usr/bin/pip3
rm -f /usr/bin/pip
rm -f /usr/lib64/libpython3.so
rm -f /usr/lib64/pkgconfig/python3.pc
rm -f /usr/lib64/pkgconfig/python3-embed.pc
fi
ln -s pydoc$version /usr/bin/pydoc3
ln -s python$version /usr/bin/python3
@@ -22,6 +25,10 @@ if [ "$1" != "" ] ; then
ln -s 2to3-$version /usr/bin/2to3
ln -s pip$version /usr/bin/pip3
ln -s pip$version /usr/bin/pip
ln -s libpython$version.so /usr/lib64/libpython3.so
ln -s python-$version.pc /usr/lib64/pkgconfig/python3.pc
ln -s python-$version-embed.pc /usr/lib64/pkgconfig/python3-embed.pc
else
exit 1
fi