Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
cboulay committed Dec 12, 2024
1 parent 8364aad commit fb0ae2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@

try:
from wheel.bdist_wheel import bdist_wheel as _bdist_wheel

class bdist_wheel(_bdist_wheel):
def finalize_options(self):
super().finalize_options()
self.root_is_pure = not sys.platform.startswith("win")

def get_tag(self):
python, abi, plat = _bdist_wheel.get_tag(self)
# We don't contain any python source
python, abi = 'py2.py3', 'none'
python, abi = "py2.py3", "none"
return python, abi, plat
except ImportError:
bdist_wheel = None
Expand Down

0 comments on commit fb0ae2e

Please sign in to comment.