Skip to content

Commit

Permalink
Merge branch 'easier-conda' of github.com:pygfx/wgpu-py into easier-c…
Browse files Browse the repository at this point in the history
…onda
  • Loading branch information
almarklein committed Jan 31, 2025
2 parents 78fd2f2 + 53bbeeb commit 617b82d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/hatch_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def initialize(self, version, build_data):
# we go pure-Python mode, and expect the user to set WGPU_LIB_PATH.
# We also allow building an arch-agnostic wheel explicitly, using an env var.

if os.getenv("WGPU_PY_BUILD_NOARCH") in ("1", "true"):
if os.getenv("WGPU_PY_BUILD_NOARCH", "").lower() in ("1", "true"):
pass # Explicitly disable including the lib
elif self.target_name == "wheel" and is_git_repo():
# Prepare
Expand Down

0 comments on commit 617b82d

Please sign in to comment.