getPackageDir

lsst.utils.getPackageDir(package_name: str) → str

Find the file system location of the EUPS package.

Parameters:
package_name : str

The name of the EUPS package.

Returns:
path : str

The path to the root of the EUPS package.

Raises:
LookupError

Raised if no product of that name could be found.

ValueError

The supplied package name was either not a string or was a string of zero-length.

Notes

Does not use EUPS directly. Uses the environment.