def _unpack(self):
if self._ext == '<STR_LIT>':<EOL><INDENT>with ZipFile(self._local, '<STR_LIT:r>') as archive:<EOL><INDENT>archive.extractall(self._root)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>cmd = '<STR_LIT>' + self._root<EOL>proc = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE)<EOL>proc.stdin.write(self._local.read())<EOL><DEDENT>self._local.close()<EOL>
Unpacks the CSPICE package on the given root directory. Note that
        Package could either be the zipfile.ZipFile class for Windows platforms
        or tarfile.TarFile for other platforms.