diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 907ace6c7..e6a021d1a 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -385,6 +385,8 @@ jobs:
         if: steps.changes.outputs.changed == 'true'
       - run: maturin --version
         if: steps.changes.outputs.changed == 'true'
+      - run: python3 -m maturin --version
+        if: steps.changes.outputs.changed == 'true'
       - name: Upload wheel artifacts
         if: steps.changes.outputs.changed == 'true'
         uses: actions/upload-artifact@v2
diff --git a/maturin/__main__.py b/maturin/__main__.py
new file mode 100644
index 000000000..3ad3904a9
--- /dev/null
+++ b/maturin/__main__.py
@@ -0,0 +1,9 @@
+import os
+import sys
+from pathlib import Path
+import sysconfig
+
+if __name__ == "__main__":
+    scripts_dir = sysconfig.get_path("scripts")
+    maturin = Path(scripts_dir) / "maturin"
+    os.execv(maturin, ["maturin"] + sys.argv[1:])