mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-03 22:56:49 +00:00
fix build dependencies checking (python modules)
This commit is contained in:
parent
2903181f4d
commit
64e90528a3
1 changed files with 9 additions and 9 deletions
18
prepare.py
18
prepare.py
|
|
@ -142,16 +142,16 @@ 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 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 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')
|
||||
return ret
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue