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/c_picker/__init__.py b/c_picker/__init__.py
index b606582..8d51953 100644
--- a/c_picker/__init__.py
+++ b/c_picker/__init__.py
@@ -9,4 +9,4 @@
__all__ = ["picker", "runner", "coverage"]
__license__ = "BSD-3-Clause"
-__version__ = "1.0.0"
+__version__ = "1.0.1"
diff --git a/docs/project/change-log.rst b/docs/project/change-log.rst
index 037f6da..0bcc246 100644
--- a/docs/project/change-log.rst
+++ b/docs/project/change-log.rst
@@ -3,6 +3,14 @@
This document contains a summary of the new features, changes, fixes and known issues in each release of Trusted Services.
+Version 1.0.1
+-------------
+
+Changes
+^^^^^^^
+Use libclang pip dependency instead of clang.
+
+
Version 1.0.0
-------------
@@ -26,4 +34,4 @@
*Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.*
-SPDX-License-Identifier: BSD-3-Clause
+SPDX-License-Identifier: BSD-3-Clause
\ No newline at end of file
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