We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a2b503 commit 1e8b26eCopy full SHA for 1e8b26e
pyproject.toml
@@ -1,5 +1,5 @@
1
[build-system]
2
-requires = ["setuptools"]
+requires = ["setuptools", "wheel"]
3
build-backend = "setuptools.build_meta"
4
5
[project]
setup.py
@@ -3,10 +3,15 @@
import subprocess
from setuptools import Extension, find_packages, setup
6
-from setuptools.command.bdist_wheel import bdist_wheel
7
from setuptools.command.build_ext import build_ext
8
from setuptools.command.sdist import sdist
9
+try:
10
+ from setuptools.command.bdist_wheel import bdist_wheel
11
+except ImportError:
12
+ from wheel.bdist_wheel import bdist_wheel
13
+
14
15
INSTALL_DIR = os.path.dirname(os.path.realpath(__file__))
16
UNITYPYBOOST_DIR = os.path.join(INSTALL_DIR, "UnityPyBoost")
17
0 commit comments