Skip to content

Commit

Permalink
ECC-1972: support for Windows binary wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
iainrussell committed Nov 20, 2024
1 parent b8e8070 commit 72e3e90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-wheel-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ jobs:
ls -l
working-directory: tests

- run: pytest --verbose -s
- run: ECCODES_PYTHON_TRACE_LIB_SEARCH=1 pytest --verbose -s
working-directory: tests
timeout-minutes: 2

Expand Down
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ def shared(directory):
shared_files = ["versions.txt"]
shared_files += [x[len("eccodes/") :] for x in shared("eccodes/copying")]

if os.name == "nt":
for n in os.listdir("eccodes"):
if n.endswith(".dll"):
shared_files.append(n)

else:
ext_modules = []
shared_files = []
Expand Down

0 comments on commit 72e3e90

Please sign in to comment.