Skip to content

Commit

Permalink
(ref) silly, I don't need to commit, just patch-debug the recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
MementoRC committed Dec 27, 2023
1 parent bbc8e0b commit 94723ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup_support.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import glob
import logging
import os
import shutil
import subprocess
from cgi import log
from contextlib import contextmanager, suppress
from tempfile import mkdtemp

Expand Down Expand Up @@ -62,10 +64,8 @@ def _find_lib():
from cffi import FFI

try:
print('Checking for system libsecp256k1')
# raises CalledProcessError if pkg-config is not installed or the lib does not exists
subprocess.check_output(['pkg-config', '--exists', 'libsecp256k1']) # noqa S603
print('Found system libsecp256k1')

includes = subprocess.check_output(['pkg-config', '--cflags-only-I', 'libsecp256k1']) # noqa S603
includes = includes.strip().decode('utf-8')
Expand All @@ -82,7 +82,7 @@ def _find_lib():
return False

except Exception as e:
print('Error while checking for system libsecp256k1', e)
log.DEBUG(f'Error while trying to find libsecp256k1: {e}')
return False


Expand Down

0 comments on commit 94723ac

Please sign in to comment.