Skip to content

Commit

Permalink
Use msvc for compilation of Python extension
Browse files Browse the repository at this point in the history
  • Loading branch information
mwilliamson committed Nov 11, 2023
1 parent b6e309d commit aa307f2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,4 @@ jobs:
pacboy: >-
toolchain:p
- run: where.exe msys2

- run: where.exe tox

- run: C:\hostedtoolcache\windows\Python\3.12.0\x64\Scripts\tox.exe -e py
shell: msys2 {0}
- run: tox -e py
5 changes: 0 additions & 5 deletions setup.cfg

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def _extract_tarball(self, tarball_path, lib_dir):
"jq",
sources=["jq.c"],
include_dirs=[os.path.join(jq_lib_dir, "src")],
extra_link_args=["-lm", "-Wl,-Bstatic", "-lpthread", "-lshlwapi", "-static-libgcc"] + link_args_deps,
extra_link_args=["-lm"] + link_args_deps,
extra_objects=extra_objects,
)

Expand Down

0 comments on commit aa307f2

Please sign in to comment.