License for OpenEye Toolkits¶
A license file from OpenEye Scientific Software is required to run any OpenEye toolkit. A license file can be requested/obtained by contacting OpenEye at sales@eyesopen.com.
At startup, the toolkit looks for a valid license in the following default locations:
In a file specified by the environment variable
OE_LICENSE
.In a file named
oe_license.txt
in the directory specified by the environment variableOE_DIR
.In a file named
oe_license.txt
in the user’s platform-specific local OpenEye application data directory. The location of this directory is detailed below:Microsoft Windows:
C:\Users\USERNAME\AppData\Local\OpenEye
In a file named
oe_license.txt
in the current working directoryLicense failure results in fatal error. The examples in
OEChemIsLicensed
show how to check if a valid license is available.