Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1.02 KB

File metadata and controls

28 lines (16 loc) · 1.02 KB

CMLibs Exporter

CMLibs exporter classes. This software can be found on PyPi and installed with the following command:

pip install cmlibs.exporter

When using the thumbnail exporter there are additional requirements for hardware or software rendering. To install the thumbnail exporter with support for hardware rendering install cmlibs.exporter with:

pip install 'cmlibs.exporter[opengl_hardware]'

To install the thumbnail exporter with support for software rendering install cmlibs.exporter with:

pip install 'cmlibs.exporter[opengl_software]'

To force the use of the software renderer even when hardware rendering is available, set an environment variable like so:

CMLIBS_EXPORTER_RENDERER=osmesa

either in the environment the exporter is run in or before calling the export thumbnail method.

Distribution

This software uses regex to extract the version number information from the package. The version number for this package is stored in 'src/cmlibs/exporter/__init__.py'