mirror of
https://github.com/LCPQ/quantum_package
synced 2024-08-16 17:48:32 +02:00
Merge branch 'develop'
This commit is contained in:
commit
e9898c4fa1
2
configure
vendored
2
configure
vendored
@ -451,7 +451,7 @@ def create_ninja_and_rc(l_installed):
|
|||||||
'export IRPF90={0}'.format(path_irpf90),
|
'export IRPF90={0}'.format(path_irpf90),
|
||||||
'export NINJA={0}'.format(path_ninja),
|
'export NINJA={0}'.format(path_ninja),
|
||||||
'export QP_PYTHON={0}'.format(":".join(l_python)), "",
|
'export QP_PYTHON={0}'.format(":".join(l_python)), "",
|
||||||
'export PYTHONPATH="${QP_PYTHON}":"${PYTHONPATH}"',
|
'export PYTHONPATH="${QP_EZFIO}":"${QP_PYTHON}":"${PYTHONPATH}"',
|
||||||
'export PATH="${QP_PYTHON}":"${QP_ROOT}"/bin:"${QP_ROOT}"/ocaml:"${PATH}"',
|
'export PATH="${QP_PYTHON}":"${QP_ROOT}"/bin:"${QP_ROOT}"/ocaml:"${PATH}"',
|
||||||
'export LD_LIBRARY_PATH="${QP_ROOT}"/lib:"${LD_LIBRARY_PATH}"',
|
'export LD_LIBRARY_PATH="${QP_ROOT}"/lib:"${LD_LIBRARY_PATH}"',
|
||||||
'export LIBRARY_PATH="${QP_ROOT}"/lib:"${LIBRARY_PATH}"', "",
|
'export LIBRARY_PATH="${QP_ROOT}"/lib:"${LIBRARY_PATH}"', "",
|
||||||
|
@ -180,13 +180,7 @@ class ModuleHandler():
|
|||||||
basename = "tree_dependency"
|
basename = "tree_dependency"
|
||||||
path = '{0}.png'.format(basename)
|
path = '{0}.png'.format(basename)
|
||||||
|
|
||||||
# Init
|
from graphviz import Digraph
|
||||||
try:
|
|
||||||
from graphviz import Digraph
|
|
||||||
except:
|
|
||||||
with open(path, 'a'):
|
|
||||||
os.utime(path, None)
|
|
||||||
return
|
|
||||||
|
|
||||||
all_ready_done = []
|
all_ready_done = []
|
||||||
|
|
||||||
@ -209,7 +203,12 @@ class ModuleHandler():
|
|||||||
graph.node(module, fontcolor="red")
|
graph.node(module, fontcolor="red")
|
||||||
draw_module_edge(module, d_ref[module])
|
draw_module_edge(module, d_ref[module])
|
||||||
|
|
||||||
graph.render(cleanup=True)
|
try:
|
||||||
|
graph.render(cleanup=True)
|
||||||
|
except:
|
||||||
|
with open(path, 'a'):
|
||||||
|
os.utime(path, None)
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user