Configuring Python and SynthEyes

< Previous | | Manuals Home | Boris FX | Next >

Configuring Python and SynthEyes

To run python from SynthEyes, and vice-versa, the SyPy package must be installed into python. The exact location of python depends on which operating system you have. You will need to have administrative permissions to do so.

You can install SyPy into any compatible python interpreter, so that SynthEyes can be accessed directly from inside those other applications. That includes the python interpreter built into other applications, such as Blender or Cinema 4D, or the python interpreter of your favorite Python IDE package. That's right, you can develop for SyPy directly inside your favorite IDE!

NOTE : The environment variable SYNTHEYES_PYTHON_PATH can contain the name of the final executable (not just the path) for python, and if it is present, it will be used to start python scripts from inside SynthEyes. It overrides any value set in the preferences file.

SyPy/SyPy3 is simply some files that get copied into the right location, a folder named site- packages. See "Installing Python Modules" on the python.org web site for background. You can do this any way that works; we've provided some directions below.

Before installing, you should verify in SyPy's syconfig.py the location that you have installed SynthEyes in. That location is used when python is started first, if SyPy is asked to start SynthEyes.

TIP : SyPy and SyPy3 are included in every (non-Intro) SynthEyes install. Just look in the folder where SynthEyes is installed.

SyPy includes three scripts, installWin.bat, installMac.csh, and installLinux.csh, to help install SyPy. The scripts contain the python path names to be installed to, so you should be sure to edit them before running them, to reflect your python version and install location. For the script to be able to update the python install, you'll probably need to adjust some folder permissions first or run the Mac and Linux scripts as superuser.


 

©2023 Boris FX, Inc. — UNOFFICIAL — Converted from original PDF.