Skip to content

Commit

Permalink
BLD: prefer to use bdist_wheel from setuptools rather than wheel
Browse files Browse the repository at this point in the history
Due to upcoming changes to
setuptools (pypa/setuptools#4647) using
bdist_wheel from wheel will fail.
  • Loading branch information
tacaswell committed Oct 10, 2024
1 parent 16d8247 commit b284a16
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@
import subprocess
from warnings import warn
import packaging.version
from wheel.bdist_wheel import bdist_wheel
import sysconfig

try:
from setuptools.command.bdist_wheel import bdist_wheel
except ImportError:
from wheel.bdist_wheel import bdist_wheel


LIBERFADIR = os.path.join('liberfa', 'erfa')
ERFA_SRC = os.path.join(LIBERFADIR, 'src')
Expand Down

0 comments on commit b284a16

Please sign in to comment.