Skip to content

Commit

Permalink
Q&D adaption to bdist_wheel relocation (fixes #326)
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed Dec 19, 2024
1 parent 067847a commit 935649c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
import sys
from pathlib import Path
import setuptools
from wheel.bdist_wheel import bdist_wheel
try:
from setuptools.command.bdist_wheel import bdist_wheel
except ImportError:
from wheel.bdist_wheel import bdist_wheel
from setuptools.command.build_py import build_py as build_py_orig

sys.path.insert(0, str(Path(__file__).parent / "setupsrc"))
Expand Down

0 comments on commit 935649c

Please sign in to comment.