From d5962d070b1956a29fa662af31bc6dc37b5a25af Mon Sep 17 00:00:00 2001 From: Bruno <55158870+bruno-canada@users.noreply.github.com> Date: Wed, 29 Dec 2021 18:05:15 -0800 Subject: [PATCH 1/2] Move all app files from src to integrityguard directory --- {src => integrityguard}/__init__.py | 0 {src => integrityguard}/data/__init__.py | 0 {src => integrityguard}/data/hash.py | 0 {src => integrityguard}/hashreport.py | 0 {src => integrityguard}/helpers/integrityguard.conf | 0 {src => integrityguard}/helpers/loadconfig.py | 0 {src => integrityguard}/integrityguard.py | 0 {src => integrityguard}/monitor.py | 0 8 files changed, 0 insertions(+), 0 deletions(-) rename {src => integrityguard}/__init__.py (100%) rename {src => integrityguard}/data/__init__.py (100%) rename {src => integrityguard}/data/hash.py (100%) rename {src => integrityguard}/hashreport.py (100%) rename {src => integrityguard}/helpers/integrityguard.conf (100%) rename {src => integrityguard}/helpers/loadconfig.py (100%) rename {src => integrityguard}/integrityguard.py (100%) rename {src => integrityguard}/monitor.py (100%) diff --git a/src/__init__.py b/integrityguard/__init__.py similarity index 100% rename from src/__init__.py rename to integrityguard/__init__.py diff --git a/src/data/__init__.py b/integrityguard/data/__init__.py similarity index 100% rename from src/data/__init__.py rename to integrityguard/data/__init__.py diff --git a/src/data/hash.py b/integrityguard/data/hash.py similarity index 100% rename from src/data/hash.py rename to integrityguard/data/hash.py diff --git a/src/hashreport.py b/integrityguard/hashreport.py similarity index 100% rename from src/hashreport.py rename to integrityguard/hashreport.py diff --git a/src/helpers/integrityguard.conf b/integrityguard/helpers/integrityguard.conf similarity index 100% rename from src/helpers/integrityguard.conf rename to integrityguard/helpers/integrityguard.conf diff --git a/src/helpers/loadconfig.py b/integrityguard/helpers/loadconfig.py similarity index 100% rename from src/helpers/loadconfig.py rename to integrityguard/helpers/loadconfig.py diff --git a/src/integrityguard.py b/integrityguard/integrityguard.py similarity index 100% rename from src/integrityguard.py rename to integrityguard/integrityguard.py diff --git a/src/monitor.py b/integrityguard/monitor.py similarity index 100% rename from src/monitor.py rename to integrityguard/monitor.py From c87079b8b404a13f46899746eb2dca7a6a892927 Mon Sep 17 00:00:00 2001 From: Bruno <55158870+bruno-canada@users.noreply.github.com> Date: Wed, 29 Dec 2021 18:06:23 -0800 Subject: [PATCH 2/2] Adjust data_files parameter for setuptools to follow the new folder structure --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index fc07877..90d7283 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ ], }, data_files=[ - (os_dirs.user_config_dir, ['src/helpers/integrityguard.conf']) + (os_dirs.user_config_dir, ['integrityguard/helpers/integrityguard.conf']) ], install_requires=requirements, license="MIT license",