yes that’s what i did i worked with {WORKDIR} instead here’s the updated recipe :
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://playsound-1.2.2.dist-info/METADATA;md5=942cdc91f8f53ffd960367b0ba0e652c"
SRC_URI = "https://files.pythonhosted.org/packages/f5/16/10d897b0a83fb4b05b03a63d7a2667ab75f857f67f7062fd447dd3f49bf7/playsound-1.2.2-py2.py3-none-any.whl;downloadfilename=playsound-${PV}-py2.py3-none-any.zip;subdir=python3-playsound-1.2.2"
SRC_URI[sha256sum] = "1e83750a5325cbccee03d6e751ba3e78c037ac95b95a3ba1f38d0c5aca9e1a34"
SRC_URI[md5sum] = "30f7763f7ec70f351b0767eb71e289f3"
inherit python3-dir
do_unpack[depends] += "unzip-native:do_populate_sysroot"
DEPENDS += "python3"
FILES:${PN} += "/usr/lib/python3.10/site-packages/playsound.py"
do_install() {
install -d ${D}${PYTHON_SITEPACKAGES_DIR}
install -m 644 ${WORKDIR}/python3-playsound-1.2.2/playsound.py ${D}${PYTHON_SITEPACKAGES_DIR}/
}