ShipSoft / shipdist

Recipes to build SHiP software and its dependencies
2 stars 10 forks source link

Update python recipe to use pkg-config #43

Closed olantwin closed 4 years ago

olantwin commented 4 years ago

python-config doesn't exist on e.g. Fedora 30. Instead, only python3-config exists.

It appears there are some issues with python(3)-config in general (e.g. https://bugzilla.redhat.com/show_bug.cgi?id=1724190), so using pkg-config instead might give more robust results.

The prefer_system_check is also reformatted a bit to be more readable and the reference to the obsolete slc5 is removed.

olantwin commented 4 years ago

As far as I can tell pkg-config is supported since python 2.6 or so, so works even on lxplus6 and certainly with all python versions use-able for FairShip.