Set a version ID from env, or a version control ID string ($name$ or $HeadURL$).
$name$
$HeadURL$
SCons.Environment
The SCons environment.
str
The string containining version information to search if the version can not be found in the environment.
The version.
determineVersion()