diff --git a/buildwheels.py b/buildwheels.py
index 80f777bfa794c34b3273d0f8f06c6f34eab9e013..49188aec6b09f55857c7247e0e975f13fa322806 100644
--- a/buildwheels.py
+++ b/buildwheels.py
@@ -28,7 +28,7 @@ for pyver in ['3.7','3.8','3.9']:
         subprocess.check_call(f'conda create -y -n {condaenv} python={pyver}', shell=True)
         subprocess.check_call(f'conda activate {condaenv} && python -m pip install -U pip wheel', shell=True)
         try:
-            subprocess.check_call(f'conda activate {condaenv} && python -m pip -vvv wheel .', shell=True)
+            subprocess.check_call(f'conda activate {condaenv} && python -m pip -vvv --use-feature=in-tree-build wheel .', shell=True)
         except:
             pass
         finally: