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

fix build dependencies checking (python modules)

parent 2903181f
......@@ -142,7 +142,6 @@ class DesktopPreparator(prepare.Preparator):
ret = prepare.Preparator.check_environment(self)
if platform.system() == 'Windows':
ret |= not self.check_is_installed('mingw-get', 'MinGW (https://sourceforge.net/projects/mingw/files/Installer/)')
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)'
......@@ -152,6 +151,7 @@ class DesktopPreparator(prepare.Preparator):
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:
ret |= not self.check_python_module_is_present('wheel')
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