setPrefix

lsst.sconsUtils.installation.setPrefix(env, versionString, eupsProductPath=None)

Set a prefix based on the EUPS_PATH, the product name, and a version string from CVS or SVN.

Parameters:
env : SCons.Environment

Environment to search.

versionString : str

String that might contain version information.

eupsProductPath : str, optional

Path to the EUPS product.

Returns:
prefix : str

Prefix to use.