From 87c5cd4d7670b24894d5acbe39c129ec8aded8e5 Mon Sep 17 00:00:00 2001 From: Marin Date: Thu, 8 Feb 2024 10:44:33 +0100 Subject: [PATCH] Ensure to include proper resource files in the "setup.py" specification --- setup.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/setup.py b/setup.py index 3f4a625..80247af 100755 --- a/setup.py +++ b/setup.py @@ -24,9 +24,23 @@ url = 'https://github.com/P1sec/QCSuper', requires = ['pyserial(>=3.5)', 'pyusb(>=1.2.1)', 'crcmod(>=1.7)', 'pycrate(>=0.7.0)'], install_requires = [], + include_package_data = True, + package_data = { + 'qcsuper.inputs.adb_bridge': ['*'], + 'qcsuper.inputs.adb_wsl2_bridge': ['*'], + 'qcsuper.inputs.external': ['*'], + 'qcsuper.inputs.external.adb': ['*'], + 'qcsuper.inputs.external.adb.lib64': ['*'], + 'qcsuper.inputs.adb_bridge': ['*'] + }, packages = [ 'qcsuper', 'qcsuper.inputs', + 'qcsuper.inputs.adb_bridge', + 'qcsuper.inputs.adb_wsl2_bridge', + 'qcsuper.inputs.external', + 'qcsuper.inputs.external.adb', + 'qcsuper.inputs.external.adb.lib64', 'qcsuper.protocol', 'qcsuper.modules', 'qcsuper.modules.efs_shell_commands'