void OESetLicenseFile(const char *fname)

Set the OpenEye license file to use to perform license checks. This can be used instead setting the OE_LICENSE environment variable.


Although OEChem can be imported without a license check other OpenEye libraries may perform their license check at load time. Therefore, this function should be used before importing those libraries, for example:

from openeye.oechem import *
from openeye.oespicoli import *