Build a Spotfire Package for Spotfire Service for Python (Linux)

The installation of Spotfire Service for Python on your Spotfire Server includes a dockerfile that you can use to deploy a collection of Python packages to Spotfire Server and node manager running on the Linux operating system.

If you do not have login credentials for the Spotfire Server running on Linux, or if you have a large deployment of node managers running Spotfire Service for Python on Linux, then it might not be possible to install packages directly on the server. In this case, you can build your Spotfire package (SPK) containing the packages to distribute using a Docker container.

Note: CentOS is our preferred Linux distribution for use with Spotfire Service for Python.

This version of Spotfire Service for Python includes dockerfiles that you can use to build an SPK for packages to use with the Spotfire Service for Python. You can build the SPK from either Windows or Linux.

Tools to build the Spotfire package (SPK)
Tool Description
python-build-base This directory contains a dockerfile to build a container containing the packages.
spotfire-spk This file is used to call the python-build-base container to build the SPK containing the packages for Spotfire Service for Python.
spotfire-<version>-py2.py3-non-any.whl A Python Wheel file containing the Spotfire module used for building SPKs. This wheel is imported into the python-build-base container automatically.