local_install_basepath

local_install_basepath(distribution_name: str, *, vv_info: VerboseVersionInfo | None = None) Path | None[source]

Extract base installation path for packages installed from local resource.

Parameters:
  • distribution_name (str) – The name of the distribution package as a string.

  • vv_info (Optional[VerboseVersionInfo]) – Verbose version info generated by find_url_info().

Returns:

Path to the root of a package which was installed from a local resource.

Return type:

Optional[Path]