Skip to content

Commit

Permalink
With alpine linux support (#80)
Browse files Browse the repository at this point in the history
* Add alpine linux libturbojpeg lib path (#79)

---------

Co-authored-by: Phillip Dykman <[email protected]>
  • Loading branch information
lilohuang and H3mul authored Jul 16, 2024
1 parent c9a4973 commit 91cd8d2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018-2023 Lilo Huang <[email protected]>
Copyright (c) 2018-2024 Lilo Huang <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
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.3',
version='1.7.4',
description='A Python wrapper of libjpeg-turbo for decoding and encoding JPEG image.',
author='Lilo Huang',
author_email='[email protected]',
Expand Down
5 changes: 3 additions & 2 deletions turbojpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# PyTurboJPEG - A Python wrapper of libjpeg-turbo for decoding and encoding JPEG image.
#
# Copyright (c) 2018-2023, Lilo Huang. All rights reserved.
# Copyright (c) 2018-2024, Lilo Huang. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand All @@ -23,7 +23,7 @@
# SOFTWARE.

__author__ = 'Lilo Huang <[email protected]>'
__version__ = '1.7.3'
__version__ = '1.7.4'

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/libturbojpeg.so.0'
'/usr/lib64/libturbojpeg.so.0',
'/opt/libjpeg-turbo/lib64/libturbojpeg.so'
],
Expand Down

0 comments on commit 91cd8d2

Please sign in to comment.