Skip to content

Commit

Permalink
Add libturbojpeg.so.0 file path for aarch64 platform (#86)
Browse files Browse the repository at this point in the history
* add libturbojpeg.so.0 file path for aarch64 platform (#85)

* Update setup.py

* Update turbojpeg.py

---------

Co-authored-by: Maximilian Schempp <129081777+mcschempp@users.noreply.github.com>
  • Loading branch information
lilohuang and mcschempp authored Sep 17, 2024
1 parent 1435324 commit 3b515dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from setuptools import setup, find_packages
setup(
name='PyTurboJPEG',
version='1.7.6',
version='1.7.7',
description='A Python wrapper of libjpeg-turbo for decoding and encoding JPEG image.',
author='Lilo Huang',
author_email='kuso.cc@gmail.com',
Expand Down
3 changes: 2 additions & 1 deletion turbojpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# SOFTWARE.

__author__ = 'Lilo Huang <kuso.cc@gmail.com>'
__version__ = '1.7.6'
__version__ = '1.7.7'

from ctypes import *
from ctypes.util import find_library
Expand All @@ -43,6 +43,7 @@
],
'Linux': [
'/usr/lib/x86_64-linux-gnu/libturbojpeg.so.0',
'/usr/lib/aarch64-linux-gnu/libturbojpeg.so.0',
'/usr/lib/libturbojpeg.so.0',
'/usr/lib64/libturbojpeg.so.0',
'/opt/libjpeg-turbo/lib64/libturbojpeg.so'
Expand Down

0 comments on commit 3b515dd

Please sign in to comment.