diff --git a/Tools/PyUtils/CMakeLists.txt b/Tools/PyUtils/CMakeLists.txt index d2e741fce05e34c9fd67f706bf2e185b74287666..a2035f304db501c7e69770893591277868af8e7b 100644 --- a/Tools/PyUtils/CMakeLists.txt +++ b/Tools/PyUtils/CMakeLists.txt @@ -6,6 +6,7 @@ atlas_subdir( PyUtils ) # External dependencies: find_package( decorator ) find_package( graphviz ) +find_package( pygraphviz ) find_package( requests ) find_package( six ) find_package( ROOT COMPONENTS Core PyROOT Tree MathCore Hist RIO pthread ) diff --git a/Tools/PyUtils/python/scripts/cmake_depends.py b/Tools/PyUtils/python/scripts/cmake_depends.py index 3a9c6d658d642e199dd3b100683efa8318122153..0d3d628b068ea8bbb8247e91ec87f38494f50f90 100644 --- a/Tools/PyUtils/python/scripts/cmake_depends.py +++ b/Tools/PyUtils/python/scripts/cmake_depends.py @@ -14,14 +14,7 @@ import re from collections import deque import PyUtils.acmdlib as acmdlib import argparse - -# Hack until atlasexternals!747 is deployed: -try: - import pygraphviz -except ImportError: - import sys - sys.path.append('/cvmfs/sft.cern.ch/lcg/releases/LCG_98python3/pygraphviz/1.5/'+os.getenv('BINARY_TAG')+'/lib/python3.7/site-packages') - import pygraphviz +import pygraphviz def read_package_list(package_file):