Home Assistant build fail for 2022.4.x

With the move of the core source to the “homeassistant” directory in 2022.4.x, the setup.py throws the below error:

Traceback (most recent call last):
  File "/tmp/core-2022.4.7/./homeassistant/setup.py", line 13, in <module>
    from . import config as conf_util, core, loader, requirements
ImportError: attempted relative import with no known parent package

Any suggestion for resolving this?