diff --git a/Applications/Python/ogs/__init__.py b/Applications/Python/ogs/__init__.py
index d01cbecd5bfbcd37e029a2821f50a9a9b8d64e10..9cc66c4af5b65ff6695091d38da810c470eae2c2 100644
--- a/Applications/Python/ogs/__init__.py
+++ b/Applications/Python/ogs/__init__.py
@@ -10,4 +10,5 @@ if "PEP517_BUILD_BACKEND" in os.environ:
     if config_spec is not None:
         from .config import *  # noqa: F403
 else:
+    print(os.environ)
     from .config import *  # noqa: F403
diff --git a/scripts/ci/jobs/build-wheels.yml b/scripts/ci/jobs/build-wheels.yml
index c8c1199ab0904cfe82f45d0460817d836afb6f7c..b414318c1d2d5ca4e8440e61f4975659b0037960 100644
--- a/scripts/ci/jobs/build-wheels.yml
+++ b/scripts/ci/jobs/build-wheels.yml
@@ -77,7 +77,7 @@ publish wheels:
     - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
     - when: never
   script:
-    - pipx run build --sdist --outdir wheelhouse
+    - PEP517_BUILD_BACKEND=1 pipx run build --sdist --outdir wheelhouse
     - >
       pipx run twine upload
       ${PYPI_REPO}
@@ -92,7 +92,7 @@ publish wheels to pypi (dev):
     - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
       when: manual
   script:
-    - pipx run build --sdist --outdir wheelhouse
+    - PEP517_BUILD_BACKEND=1 pipx run build --sdist --outdir wheelhouse
     - >
       pipx run twine upload --repository pypi
       --username __token__ --password ${PYPI_TOKEN}