From 98440895dec534f527a38845cf6ed609c53246d2 Mon Sep 17 00:00:00 2001
From: Jacob Siverskog <jacob@teenage.engineering>
Date: Tue, 6 Feb 2024 09:00:36 +0100
Subject: [PATCH] dependencies: remove capstone

the implementation already supports that capstone may not be
installed. capstone is somewhat slow to install on some platforms
(e.g. raspberry pi), and not always needed.
---
 setup.cfg | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/setup.cfg b/setup.cfg
index d27543a50..eb8ce4d61 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -50,7 +50,6 @@ python_requires = >=3.7.0
 # importlib_resources is used instead of stdlib importlib.resources because we
 # want the selectable entry_points API, which is not present until Python 3.10.
 install_requires =
-    capstone>=4.0,<5.0
     cmsis-pack-manager>=0.5.2,<1.0
     colorama<1.0
     hidapi>=0.10.1,<1.0; platform_system != "Linux"
@@ -75,6 +74,7 @@ pemicro =
 test =
     pytest>=6.2
     pytest-cov
+    capstone>=4.0,<5.0
     coverage
     flake8
     pylint
@@ -111,4 +111,3 @@ exclude =
     test_user_script.py,
     # Ignore gdb test script for similar reasons.
     gdb_test_script.py
-