getPackageDir#

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

Find the file system location of the EUPS package.

Parameters#

package_namestr

The name of the EUPS package.

Returns#

pathstr

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.