o ca@s6ddlmZddlZddlZddlmZdddZdS) )print_functionN) WheelFile.cCstt|(}|jd}tj||}td|ddtj | |Wdn1s/wYtddS)zUnpack a wheel. Wheel content will be unpacked to {dest}/{name}-{ver}, where {name} is the package name and {ver} its version. :param path: The path to the wheel. :param dest: Destination directory (default to current directory). nameverzUnpacking to: {}...)endNOK) rparsed_filenamegroupospathjoinprintformatsysstdoutflush extractall)r destwfr destinationr2/usr/lib/python3/dist-packages/wheel/cli/unpack.pyunpack s    r)r) __future__ros.pathr r wheelfilerrrrrrs