Adding Python Library (Jinja2) in Ignition Pylib Folder

While I understand that 3rd party scripts can be dropped into the user-lib/pylib folder, what is the proper way to import a more complex library that requires running ‘python setup.py install.

I am trying to install Jinja2 library. The zip file for Jinja2 contains following files:
image

How I can add this under ignition pylib folder?

Requiring setup.py usually means that package needs to compile a C plugin. Those are not jython-compatible. Look for similar functionality in a java package, which are automatically jython-compatible.

2 Likes