License for OpenEye Toolkits¶
A license file from OpenEye, Cadence Molecular Sciences is required to run any OpenEye toolkit. A license file can be requested/obtained by contacting OpenEye (https://www.eyesopen.com/contact).
At startup, the toolkit looks for a valid license in the following default locations:
In a file specified by the environment variable
OE_LICENSE. Example commands to set the environment variable:Linux/UNIX and MacOS:
export OE_LICENSE=/home/USERNAME/oe_license.txtThis can be executed in a shell prompt, or added to the user’s
~/.bash_profile. If running zsh, add to the user’s.bash_profileand then include.bash_profilein the user’s.zshrc.Microsoft Windows:
setx OE_LICENSE C:\Users\USERNAME\oe_license.txtto set the environment variable permanently using Command Prompt, orSET OE_LICENSE=C:\Users\USERNAME\oe_license.txtto set for the duration of the session using Command Prompt.$env:OE_LICENSE="C:\Users\USERNAME\oe_license.txt"to set the environment variable using PowerShell.
In a file named
oe_license.txtin the directory specified by the environment variableOE_DIR.In a file named
oe_license.txtin the user’s platform-specific local OpenEye application data directory. The location of this directory is detailed below:Linux/UNIX:
~USERNAME/.OpenEyeMacOS:
/Users/USERNAME/Library/OpenEyeor~USERNAMEMicrosoft Windows:
C:\Users\USERNAME\AppData\Local\OpenEye
In a file named
oe_license.txtin the current working directory