Skip to content

Commit

Permalink
(fix) Turning in circles around windows ...
Browse files Browse the repository at this point in the history
  • Loading branch information
MementoRC committed Dec 25, 2023
1 parent fb6c6a5 commit 62c0867
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 @@ -271,7 +271,7 @@ def has_c_libraries(self):

if (os.name == 'nt' or sys.platform == 'win32') and has_system_lib():

pkgconfig = __import__("pkgconfig")
pkgconfig = __import__('pkgconfig')


class BuildCFFIForSharedLib(_build_ext):
Expand Down
3 changes: 2 additions & 1 deletion setup_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from distutils.extension import Extension
from tempfile import mkdtemp


@contextmanager
def workdir():
cwd = os.getcwd()
Expand Down Expand Up @@ -57,7 +58,7 @@ def build_flags(library, type_, path):


def _find_lib():
pkgconfig = __import__("pkgconfig")
pkgconfig = __import__('pkgconfig')

if 'COINCURVE_IGNORE_SYSTEM_LIB' in os.environ:
return False
Expand Down

0 comments on commit 62c0867

Please sign in to comment.