Skip to content

Setup and Configuration¤

This section describes which backend components are needed on the DataIntegration server.

Info

When using the official eccenca docker images, setup and configuration is already done.

Configuration¤

The following DataIntegration configuration section describes how to setup and enable the Python Plugin system.

#################################################
# Plugin Configuration
#################################################

# this (optional) file can be used to hold python plugin specific configuration
include "python-plugins.conf"

com.eccenca.di.scripting = {
  python = {
    PythonPluginRegistry = {
      # Python plugins will only be loaded if 'enabled' is set to true.
      enabled = true

      # Plugins will only be loaded below the following base package.
      basePackage = "cmem"
    }

    PythonPackageManager = {
      # Python package installer executable.
      # pipExecutable = "pip"
      pipExecutable = "cmem-pip-wrapper.sh"
    }
  }
}

Python Interpreter¤

An installation of the CPython distribution (at least version 3.3) is required. Although other distributions, such as Anaconda, should work as well, only CPython is officially supported.

Java Embedded Python (Jep)¤

The Jep package needs to be installed.

The libraries contained in the Jep module need to be accessible from the Java Virtual Machine running DataIntegration. This can be achieved by setting an environment variable to the directory path where the Jep module is located:

  • Linux: set LD_LIBRARY_PATH.
  • OS X: set DYLD_LIBRARY_PATH.
  • Windows: set PATH.

For alternative installation methods, visit Jep

Comments