Commit 64e90528 authored by Ronan Abhamon's avatar Ronan Abhamon

fix build dependencies checking (python modules)

parent 2903181f
...@@ -142,16 +142,16 @@ class DesktopPreparator(prepare.Preparator): ...@@ -142,16 +142,16 @@ class DesktopPreparator(prepare.Preparator):
ret = prepare.Preparator.check_environment(self) ret = prepare.Preparator.check_environment(self)
if platform.system() == 'Windows': if platform.system() == 'Windows':
ret |= not self.check_is_installed('mingw-get', 'MinGW (https://sourceforge.net/projects/mingw/files/Installer/)') ret |= not self.check_is_installed('mingw-get', 'MinGW (https://sourceforge.net/projects/mingw/files/Installer/)')
if platform.system() == 'Windows':
doxygen_prog = 'doxygen (http://www.stack.nl/~dimitri/doxygen/download.html)'
graphviz_prog = 'graphviz (http://graphviz.org/Download.php)'
else:
doxygen_prog = 'doxygen'
graphviz_prog = 'graphviz'
ret |= not self.check_is_installed('doxygen', doxygen_prog)
ret |= not self.check_is_installed('dot', graphviz_prog)
ret |= not self.check_python_module_is_present('pystache')
if "python" in self.args.target or "python-raspberry" in self.args.target: if "python" in self.args.target or "python-raspberry" in self.args.target:
if platform.system() == 'Windows':
doxygen_prog = 'doxygen (http://www.stack.nl/~dimitri/doxygen/download.html)'
graphviz_prog = 'graphviz (http://graphviz.org/Download.php)'
else:
doxygen_prog = 'doxygen'
graphviz_prog = 'graphviz'
ret |= not self.check_is_installed('doxygen', doxygen_prog)
ret |= not self.check_is_installed('dot', graphviz_prog)
ret |= not self.check_python_module_is_present('pystache')
ret |= not self.check_python_module_is_present('wheel') ret |= not self.check_python_module_is_present('wheel')
return ret return ret
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment