The Library Compiler app generates an installer that installs
the MATLAB® Runtime and the files required to install the generated Python® package.
The app places the installer in the for_redistribution
folder.
Copy the installer from the for_redistribution
folder
to the desired location.
Run the installer.
Note where the installer writes the Python package files.
When the installer finishes, open a command terminal in the folder containing the Python package files.
Run the Python set up script.
python setup.py install
Set the required environment variables.
On Linux®:
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:mcrroot/runtime/glnxa64: mcrroot/bin/glnxa64:mcrroot/sys/os/glnxa64: mcrroot/sys/opengl/lib/glnxa64 setenv XAPPLRESDIR mcrroot/v90/X11/app-defaults
On OS X:
setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:mcrroot/runtime/maci64: mcrroot/sys/os/maci64:mcrroot/bin/maci64
Note:
If |
Note:
|
Note: Commands must be entered as a single line. |
If you already have the MATLAB Runtime installed, you can just install the Python package.
Copy the contents of the for_redistribution_files_only
folder
to the desired location.
Open a command terminal in the folder containing the Python package files.
Run the Python set up script.
python setup.py install
Set the required environment variables.
On Linux:
setenv LD_LIBRARY_PATH $LD_LIBRARY_PATH:mcrroot/runtime/glnxa64: mcrroot/bin/glnxa64:mcrroot/sys/os/glnxa64: mcrroot/sys/opengl/lib/glnxa64 setenv XAPPLRESDIR mcrroot/v90/X11/app-defaults
On OS X:
setenv DYLD_LIBRARY_PATH $DYLD_LIBRARY_PATH:mcrroot/runtime/maci64: mcrroot/sys/os/maci64:mcrroot/bin/maci64
Note:
|
Note: Commands must be entered as a single line. |