entrypoint_paths

Function entrypoint_paths 

Source
pub fn entrypoint_paths(
    site_packages: &SitePackages,
    package_name: &PackageName,
    package_version: &Version,
) -> Result<Vec<(String, PathBuf)>, Error>
Expand description

Find the paths to the entry points provided by a package in an environment.

Entry points can either be true Python entrypoints (defined in entrypoints.txt) or scripts in the .data directory.

Returns a list of (name, path) tuples.