Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@
import setuptools

try:
import wheel.bdist_wheel
import setuptools.command.bdist_wheel as wheel
except ImportError:
wheel = None
try:
import wheel.bdist_wheel as wheel
except ImportError:
wheel = None



kwargs = {}
Expand Down Expand Up @@ -58,7 +62,7 @@

if wheel is not None:
# From https://github.com/joerick/python-abi3-package-sample/blob/main/setup.py
class bdist_wheel_abi3(wheel.bdist_wheel.bdist_wheel):
class bdist_wheel_abi3(wheel.bdist_wheel):
def get_tag(self):
python, abi, plat = super().get_tag()

Expand Down