B Ÿ@`Éã@s$ddlZddlmZgfdd„ZdS)éN)ÚruncKsLt|ƒ}t|ƒ}t|ƒtks t‚d|g|||f}ttjd|gf|ŽdS)aXRun the named entry point script from the specified package Args: package (str): The name of the Python package script (str): The name of the entry point script to run args (list): The list of command line arguments to pass the script **kwds: Any additional arguments to pass to pyutilib.subprocess.run zjimport pkg_resources,sys; sys.argv=%r; sys.exit(pkg_resources.load_entry_point(%r,'console_scripts',%r)())z-cN)ÚstrÚtypeÚlistÚAssertionErrorrÚsysÚ executable)ÚpackageÚscriptÚargsÚkwdsZcmdLine©r ú s