Skip to content

Matplotlib Fix, master branch (2018.10.09.)

This is to fix ATLINFR-2660.

With LCG_94 matplotlib in pyanalysis started depending on the new kiwisolver and cycler packages. To account for this, Findkiwisolver.cmake and Findcycler.cmake was created, and Findpyanalysis.cmake was updated to use them.

Note that Findpyanalysis.cmake does not require kiwianalysis or cycler to be found to report itself as found. This is to be able to use the module correctly with older LCG releases, where those two packages do not exist yet.

At the same time also made these modules all depend on PythonLibs and PythonInterp. Just to make sure that we always get a functional environment when a project needs any of these things.

Also note that I was thinking about also introducing a Findmatplotlib.cmake module that would set up the "standalone" matplotlib package from LCG_94, but then gave up. It would require adding too many find-modules to make it a useful effort.

With these updates I could get an environment in a project that called find_package(pyanalysis), in which python could import matplotlib...

Merge request reports

Loading