Use libclang pip package instead of clang
clang pip package is not maintained anymore which makes it incompatible
with recent clang libraries. Move to libclang as it is up-to-date and
well maintained.
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: Ida6eb61015645bd529e8dec880f8febef707fab9
diff --git a/setup.py b/setup.py
index b19958e..34be5d3 100644
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@
deps = ["pyyaml>5"]
try:
- pkg_resources.get_distribution("clang")
+ pkg_resources.get_distribution("libclang")
has_clang_pip = True
except pkg_resources.DistributionNotFound:
has_clang_pip = False
@@ -36,7 +36,7 @@
# modules if they were installed without pip (i.e. using the system's
# package manager instead of pip).
if not has_clang_module or has_clang_pip:
- deps.append("clang")
+ deps.append("libclang")
return deps