diff --git a/setuptools/command/editable_wheel.py b/setuptools/command/editable_wheel.py
index <HASH>..<HASH> 100644
--- a/setuptools/command/editable_wheel.py
+++ b/setuptools/command/editable_wheel.py
@@ -168,7 +168,7 @@ class editable_wheel(Command):
         if not dist.namespace_packages:
             return
 
-        src_root = Path(self.project_dir, self.pakcage_dir.get("", ".")).resolve()
+        src_root = Path(self.project_dir, self.package_dir.get("", ".")).resolve()
         installer = _NamespaceInstaller(dist, installation_dir, pth_prefix, src_root)
         installer.install_namespaces()
Fix typo in editable_wheel.py