Skip to content

Commit

Permalink
do not use global option
Browse files Browse the repository at this point in the history
  • Loading branch information
esheldon committed Jun 19, 2024
1 parent 0a44c73 commit cf4f04f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
run: pip install numpy

- name: Install code
run: pip install --no-deps -e . --global-option="build_ext" --global-option="--use-system-fitsio"
run: pip install --no-deps -e .

- name: test
run: |
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import shutil


if "--use-system-fitsio" in sys.argv:
if os.name == 'nt' or "--use-system-fitsio" in sys.argv:
del sys.argv[sys.argv.index("--use-system-fitsio")]
USE_SYSTEM_FITSIO = True
else:
Expand Down

0 comments on commit cf4f04f

Please sign in to comment.