mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
...
This commit is contained in:
parent
27041e4351
commit
3792654953
@ -54,8 +54,7 @@ class Test(BaseTest):
|
|||||||
import warnings
|
import warnings
|
||||||
warnings.filterwarnings('ignore', message="'cgi' is deprecated and slated for removal in Python 3.13")
|
warnings.filterwarnings('ignore', message="'cgi' is deprecated and slated for removal in Python 3.13")
|
||||||
|
|
||||||
if is_ci:
|
if is_ci and (SW := os.environ.get('SW')):
|
||||||
SW = os.environ['SW']
|
|
||||||
if ismacos:
|
if ismacos:
|
||||||
import ctypes
|
import ctypes
|
||||||
sys.libxml2_dylib = ctypes.CDLL(os.path.join(SW, 'lib', 'libxml2.dylib'))
|
sys.libxml2_dylib = ctypes.CDLL(os.path.join(SW, 'lib', 'libxml2.dylib'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user