install pycairo before PyGObject

Fixes: #1267
This commit is contained in:
Kyle Robbertze 2021-07-15 10:27:23 +02:00
parent 5badca488d
commit f5ca20ed3e
2 changed files with 5 additions and 2 deletions

View file

@ -970,6 +970,9 @@ verbose "Detected Python version: $python_version"
verbose "\n * Installing necessary python services..."
loudCmd "$python_bin -mpip install setuptools --upgrade"
# Required here because PyGObject requires it, but it is installed after PyGObject
# when pip parses the setup.py file in airtime_analyzer
loudCmd "$python_bin -mpip install pycairo==1.19.1"
verbose "...Done"
verbose "\n * Creating /run/airtime..."