From 03c85b6d214749bec64078a6d2852a2b7f65d7bf Mon Sep 17 00:00:00 2001 From: Guillaume Fieni Date: Wed, 22 Nov 2023 15:23:37 +0100 Subject: [PATCH] refactor: Switch project to src-layout This commit switch the project codebase from the flat-layout to the src-layout. More information about the advantages of the src layout: - https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/ - https://docs.pytest.org/en/7.1.x/explanation/goodpractices.html - https://hynek.me/articles/testing-packaging/ - https://blog.ionelmc.ro/2014/05/25/python-packaging/ --- {powerapi => src/powerapi}/__init__.py | 0 {powerapi => src/powerapi}/actor/__init__.py | 0 {powerapi => src/powerapi}/actor/actor.py | 0 {powerapi => src/powerapi}/actor/socket_interface.py | 0 {powerapi => src/powerapi}/actor/state.py | 0 {powerapi => src/powerapi}/actor/supervisor.py | 0 {powerapi => src/powerapi}/backend_supervisor/__init__.py | 0 .../powerapi}/backend_supervisor/backend_supervisor.py | 0 {powerapi => src/powerapi}/cli/__init__.py | 0 {powerapi => src/powerapi}/cli/binding_manager.py | 0 {powerapi => src/powerapi}/cli/common_cli_parsing_manager.py | 0 {powerapi => src/powerapi}/cli/config_parser.py | 0 {powerapi => src/powerapi}/cli/config_validator.py | 0 {powerapi => src/powerapi}/cli/generator.py | 0 {powerapi => src/powerapi}/cli/parsing_manager.py | 0 {powerapi => src/powerapi}/database/__init__.py | 0 {powerapi => src/powerapi}/database/base_db.py | 0 {powerapi => src/powerapi}/database/csvdb.py | 0 {powerapi => src/powerapi}/database/file_db.py | 0 {powerapi => src/powerapi}/database/influxdb.py | 0 {powerapi => src/powerapi}/database/influxdb2.py | 0 {powerapi => src/powerapi}/database/mongodb.py | 0 {powerapi => src/powerapi}/database/opentsdb.py | 0 {powerapi => src/powerapi}/database/prometheus_db.py | 0 {powerapi => src/powerapi}/database/socket_db.py | 0 {powerapi => src/powerapi}/database/virtiofs_db.py | 0 {powerapi => src/powerapi}/dispatch_rule/__init__.py | 0 {powerapi => src/powerapi}/dispatch_rule/dispatch_rule.py | 0 {powerapi => src/powerapi}/dispatch_rule/hwpc_dispatch_rule.py | 0 {powerapi => src/powerapi}/dispatch_rule/power_dispatch_rule.py | 0 {powerapi => src/powerapi}/dispatch_rule/procfs_dispatch_rule.py | 0 {powerapi => src/powerapi}/dispatch_rule/simple_dispatch_rule.py | 0 {powerapi => src/powerapi}/dispatcher/__init__.py | 0 {powerapi => src/powerapi}/dispatcher/blocking_detector.py | 0 {powerapi => src/powerapi}/dispatcher/dispatcher_actor.py | 0 {powerapi => src/powerapi}/dispatcher/handlers.py | 0 {powerapi => src/powerapi}/dispatcher/route_table.py | 0 {powerapi => src/powerapi}/dispatcher/simple/__init__.py | 0 .../powerapi}/dispatcher/simple/simple_dispatcher_actor.py | 0 .../powerapi}/dispatcher/simple/simple_dispatcher_handlers.py | 0 {powerapi => src/powerapi}/exception.py | 0 {powerapi => src/powerapi}/filter/__init__.py | 0 {powerapi => src/powerapi}/filter/filter.py | 0 {powerapi => src/powerapi}/formula/__init__.py | 0 {powerapi => src/powerapi}/formula/abstract_cpu_dram_formula.py | 0 {powerapi => src/powerapi}/formula/formula_actor.py | 0 {powerapi => src/powerapi}/formula/handlers.py | 0 {powerapi => src/powerapi}/formula/simple/__init__.py | 0 {powerapi => src/powerapi}/formula/simple/simple_formula_actor.py | 0 {powerapi => src/powerapi}/formula/simple/simple_handlers.py | 0 {powerapi => src/powerapi}/handler/__init__.py | 0 {powerapi => src/powerapi}/handler/handler.py | 0 {powerapi => src/powerapi}/handler/poison_pill_message_handler.py | 0 {powerapi => src/powerapi}/handler/start_handler.py | 0 {powerapi => src/powerapi}/message.py | 0 {powerapi => src/powerapi}/processor/__init__.py | 0 {powerapi => src/powerapi}/processor/handlers.py | 0 {powerapi => src/powerapi}/processor/pre/__init__.py | 0 {powerapi => src/powerapi}/processor/pre/k8s/__init__.py | 0 {powerapi => src/powerapi}/processor/pre/k8s/k8s_monitor.py | 0 .../powerapi}/processor/pre/k8s/k8s_pre_processor_actor.py | 0 .../powerapi}/processor/pre/k8s/k8s_pre_processor_handlers.py | 0 {powerapi => src/powerapi}/processor/pre/libvirt/__init__.py | 0 .../processor/pre/libvirt/libvirt_pre_processor_actor.py | 0 .../processor/pre/libvirt/libvirt_pre_processor_handlers.py | 0 {powerapi => src/powerapi}/processor/processor_actor.py | 0 {powerapi => src/powerapi}/puller/__init__.py | 0 {powerapi => src/powerapi}/puller/handlers.py | 0 {powerapi => src/powerapi}/puller/puller_actor.py | 0 {powerapi => src/powerapi}/puller/simple/__init__.py | 0 {powerapi => src/powerapi}/puller/simple/simple_puller_actor.py | 0 .../powerapi}/puller/simple/simple_puller_handlers.py | 0 {powerapi => src/powerapi}/pusher/__init__.py | 0 {powerapi => src/powerapi}/pusher/handlers.py | 0 {powerapi => src/powerapi}/pusher/pusher_actor.py | 0 {powerapi => src/powerapi}/pusher/simple/__init__.py | 0 {powerapi => src/powerapi}/pusher/simple/simple_pusher_actor.py | 0 .../powerapi}/pusher/simple/simple_pusher_handlers.py | 0 {powerapi => src/powerapi}/report/__init__.py | 0 {powerapi => src/powerapi}/report/control_report.py | 0 {powerapi => src/powerapi}/report/formula_report.py | 0 {powerapi => src/powerapi}/report/hwpc_report.py | 0 {powerapi => src/powerapi}/report/power_report.py | 0 {powerapi => src/powerapi}/report/procfs_report.py | 0 {powerapi => src/powerapi}/report/report.py | 0 {powerapi => src/powerapi}/utils/__init__.py | 0 {powerapi => src/powerapi}/utils/cli.py | 0 {powerapi => src/powerapi}/utils/json_stream.py | 0 {powerapi => src/powerapi}/utils/stat_buffer.py | 0 {powerapi => src/powerapi}/utils/sync.py | 0 {powerapi => src/powerapi}/utils/tree.py | 0 {powerapi => src/powerapi}/utils/utils.py | 0 92 files changed, 0 insertions(+), 0 deletions(-) rename {powerapi => src/powerapi}/__init__.py (100%) rename {powerapi => src/powerapi}/actor/__init__.py (100%) rename {powerapi => src/powerapi}/actor/actor.py (100%) rename {powerapi => src/powerapi}/actor/socket_interface.py (100%) rename {powerapi => src/powerapi}/actor/state.py (100%) rename {powerapi => src/powerapi}/actor/supervisor.py (100%) rename {powerapi => src/powerapi}/backend_supervisor/__init__.py (100%) rename {powerapi => src/powerapi}/backend_supervisor/backend_supervisor.py (100%) rename {powerapi => src/powerapi}/cli/__init__.py (100%) rename {powerapi => src/powerapi}/cli/binding_manager.py (100%) rename {powerapi => src/powerapi}/cli/common_cli_parsing_manager.py (100%) rename {powerapi => src/powerapi}/cli/config_parser.py (100%) rename {powerapi => src/powerapi}/cli/config_validator.py (100%) rename {powerapi => src/powerapi}/cli/generator.py (100%) rename {powerapi => src/powerapi}/cli/parsing_manager.py (100%) rename {powerapi => src/powerapi}/database/__init__.py (100%) rename {powerapi => src/powerapi}/database/base_db.py (100%) rename {powerapi => src/powerapi}/database/csvdb.py (100%) rename {powerapi => src/powerapi}/database/file_db.py (100%) rename {powerapi => src/powerapi}/database/influxdb.py (100%) rename {powerapi => src/powerapi}/database/influxdb2.py (100%) rename {powerapi => src/powerapi}/database/mongodb.py (100%) rename {powerapi => src/powerapi}/database/opentsdb.py (100%) rename {powerapi => src/powerapi}/database/prometheus_db.py (100%) rename {powerapi => src/powerapi}/database/socket_db.py (100%) rename {powerapi => src/powerapi}/database/virtiofs_db.py (100%) rename {powerapi => src/powerapi}/dispatch_rule/__init__.py (100%) rename {powerapi => src/powerapi}/dispatch_rule/dispatch_rule.py (100%) rename {powerapi => src/powerapi}/dispatch_rule/hwpc_dispatch_rule.py (100%) rename {powerapi => src/powerapi}/dispatch_rule/power_dispatch_rule.py (100%) rename {powerapi => src/powerapi}/dispatch_rule/procfs_dispatch_rule.py (100%) rename {powerapi => src/powerapi}/dispatch_rule/simple_dispatch_rule.py (100%) rename {powerapi => src/powerapi}/dispatcher/__init__.py (100%) rename {powerapi => src/powerapi}/dispatcher/blocking_detector.py (100%) rename {powerapi => src/powerapi}/dispatcher/dispatcher_actor.py (100%) rename {powerapi => src/powerapi}/dispatcher/handlers.py (100%) rename {powerapi => src/powerapi}/dispatcher/route_table.py (100%) rename {powerapi => src/powerapi}/dispatcher/simple/__init__.py (100%) rename {powerapi => src/powerapi}/dispatcher/simple/simple_dispatcher_actor.py (100%) rename {powerapi => src/powerapi}/dispatcher/simple/simple_dispatcher_handlers.py (100%) rename {powerapi => src/powerapi}/exception.py (100%) rename {powerapi => src/powerapi}/filter/__init__.py (100%) rename {powerapi => src/powerapi}/filter/filter.py (100%) rename {powerapi => src/powerapi}/formula/__init__.py (100%) rename {powerapi => src/powerapi}/formula/abstract_cpu_dram_formula.py (100%) rename {powerapi => src/powerapi}/formula/formula_actor.py (100%) rename {powerapi => src/powerapi}/formula/handlers.py (100%) rename {powerapi => src/powerapi}/formula/simple/__init__.py (100%) rename {powerapi => src/powerapi}/formula/simple/simple_formula_actor.py (100%) rename {powerapi => src/powerapi}/formula/simple/simple_handlers.py (100%) rename {powerapi => src/powerapi}/handler/__init__.py (100%) rename {powerapi => src/powerapi}/handler/handler.py (100%) rename {powerapi => src/powerapi}/handler/poison_pill_message_handler.py (100%) rename {powerapi => src/powerapi}/handler/start_handler.py (100%) rename {powerapi => src/powerapi}/message.py (100%) rename {powerapi => src/powerapi}/processor/__init__.py (100%) rename {powerapi => src/powerapi}/processor/handlers.py (100%) rename {powerapi => src/powerapi}/processor/pre/__init__.py (100%) rename {powerapi => src/powerapi}/processor/pre/k8s/__init__.py (100%) rename {powerapi => src/powerapi}/processor/pre/k8s/k8s_monitor.py (100%) rename {powerapi => src/powerapi}/processor/pre/k8s/k8s_pre_processor_actor.py (100%) rename {powerapi => src/powerapi}/processor/pre/k8s/k8s_pre_processor_handlers.py (100%) rename {powerapi => src/powerapi}/processor/pre/libvirt/__init__.py (100%) rename {powerapi => src/powerapi}/processor/pre/libvirt/libvirt_pre_processor_actor.py (100%) rename {powerapi => src/powerapi}/processor/pre/libvirt/libvirt_pre_processor_handlers.py (100%) rename {powerapi => src/powerapi}/processor/processor_actor.py (100%) rename {powerapi => src/powerapi}/puller/__init__.py (100%) rename {powerapi => src/powerapi}/puller/handlers.py (100%) rename {powerapi => src/powerapi}/puller/puller_actor.py (100%) rename {powerapi => src/powerapi}/puller/simple/__init__.py (100%) rename {powerapi => src/powerapi}/puller/simple/simple_puller_actor.py (100%) rename {powerapi => src/powerapi}/puller/simple/simple_puller_handlers.py (100%) rename {powerapi => src/powerapi}/pusher/__init__.py (100%) rename {powerapi => src/powerapi}/pusher/handlers.py (100%) rename {powerapi => src/powerapi}/pusher/pusher_actor.py (100%) rename {powerapi => src/powerapi}/pusher/simple/__init__.py (100%) rename {powerapi => src/powerapi}/pusher/simple/simple_pusher_actor.py (100%) rename {powerapi => src/powerapi}/pusher/simple/simple_pusher_handlers.py (100%) rename {powerapi => src/powerapi}/report/__init__.py (100%) rename {powerapi => src/powerapi}/report/control_report.py (100%) rename {powerapi => src/powerapi}/report/formula_report.py (100%) rename {powerapi => src/powerapi}/report/hwpc_report.py (100%) rename {powerapi => src/powerapi}/report/power_report.py (100%) rename {powerapi => src/powerapi}/report/procfs_report.py (100%) rename {powerapi => src/powerapi}/report/report.py (100%) rename {powerapi => src/powerapi}/utils/__init__.py (100%) rename {powerapi => src/powerapi}/utils/cli.py (100%) rename {powerapi => src/powerapi}/utils/json_stream.py (100%) rename {powerapi => src/powerapi}/utils/stat_buffer.py (100%) rename {powerapi => src/powerapi}/utils/sync.py (100%) rename {powerapi => src/powerapi}/utils/tree.py (100%) rename {powerapi => src/powerapi}/utils/utils.py (100%) diff --git a/powerapi/__init__.py b/src/powerapi/__init__.py similarity index 100% rename from powerapi/__init__.py rename to src/powerapi/__init__.py diff --git a/powerapi/actor/__init__.py b/src/powerapi/actor/__init__.py similarity index 100% rename from powerapi/actor/__init__.py rename to src/powerapi/actor/__init__.py diff --git a/powerapi/actor/actor.py b/src/powerapi/actor/actor.py similarity index 100% rename from powerapi/actor/actor.py rename to src/powerapi/actor/actor.py diff --git a/powerapi/actor/socket_interface.py b/src/powerapi/actor/socket_interface.py similarity index 100% rename from powerapi/actor/socket_interface.py rename to src/powerapi/actor/socket_interface.py diff --git a/powerapi/actor/state.py b/src/powerapi/actor/state.py similarity index 100% rename from powerapi/actor/state.py rename to src/powerapi/actor/state.py diff --git a/powerapi/actor/supervisor.py b/src/powerapi/actor/supervisor.py similarity index 100% rename from powerapi/actor/supervisor.py rename to src/powerapi/actor/supervisor.py diff --git a/powerapi/backend_supervisor/__init__.py b/src/powerapi/backend_supervisor/__init__.py similarity index 100% rename from powerapi/backend_supervisor/__init__.py rename to src/powerapi/backend_supervisor/__init__.py diff --git a/powerapi/backend_supervisor/backend_supervisor.py b/src/powerapi/backend_supervisor/backend_supervisor.py similarity index 100% rename from powerapi/backend_supervisor/backend_supervisor.py rename to src/powerapi/backend_supervisor/backend_supervisor.py diff --git a/powerapi/cli/__init__.py b/src/powerapi/cli/__init__.py similarity index 100% rename from powerapi/cli/__init__.py rename to src/powerapi/cli/__init__.py diff --git a/powerapi/cli/binding_manager.py b/src/powerapi/cli/binding_manager.py similarity index 100% rename from powerapi/cli/binding_manager.py rename to src/powerapi/cli/binding_manager.py diff --git a/powerapi/cli/common_cli_parsing_manager.py b/src/powerapi/cli/common_cli_parsing_manager.py similarity index 100% rename from powerapi/cli/common_cli_parsing_manager.py rename to src/powerapi/cli/common_cli_parsing_manager.py diff --git a/powerapi/cli/config_parser.py b/src/powerapi/cli/config_parser.py similarity index 100% rename from powerapi/cli/config_parser.py rename to src/powerapi/cli/config_parser.py diff --git a/powerapi/cli/config_validator.py b/src/powerapi/cli/config_validator.py similarity index 100% rename from powerapi/cli/config_validator.py rename to src/powerapi/cli/config_validator.py diff --git a/powerapi/cli/generator.py b/src/powerapi/cli/generator.py similarity index 100% rename from powerapi/cli/generator.py rename to src/powerapi/cli/generator.py diff --git a/powerapi/cli/parsing_manager.py b/src/powerapi/cli/parsing_manager.py similarity index 100% rename from powerapi/cli/parsing_manager.py rename to src/powerapi/cli/parsing_manager.py diff --git a/powerapi/database/__init__.py b/src/powerapi/database/__init__.py similarity index 100% rename from powerapi/database/__init__.py rename to src/powerapi/database/__init__.py diff --git a/powerapi/database/base_db.py b/src/powerapi/database/base_db.py similarity index 100% rename from powerapi/database/base_db.py rename to src/powerapi/database/base_db.py diff --git a/powerapi/database/csvdb.py b/src/powerapi/database/csvdb.py similarity index 100% rename from powerapi/database/csvdb.py rename to src/powerapi/database/csvdb.py diff --git a/powerapi/database/file_db.py b/src/powerapi/database/file_db.py similarity index 100% rename from powerapi/database/file_db.py rename to src/powerapi/database/file_db.py diff --git a/powerapi/database/influxdb.py b/src/powerapi/database/influxdb.py similarity index 100% rename from powerapi/database/influxdb.py rename to src/powerapi/database/influxdb.py diff --git a/powerapi/database/influxdb2.py b/src/powerapi/database/influxdb2.py similarity index 100% rename from powerapi/database/influxdb2.py rename to src/powerapi/database/influxdb2.py diff --git a/powerapi/database/mongodb.py b/src/powerapi/database/mongodb.py similarity index 100% rename from powerapi/database/mongodb.py rename to src/powerapi/database/mongodb.py diff --git a/powerapi/database/opentsdb.py b/src/powerapi/database/opentsdb.py similarity index 100% rename from powerapi/database/opentsdb.py rename to src/powerapi/database/opentsdb.py diff --git a/powerapi/database/prometheus_db.py b/src/powerapi/database/prometheus_db.py similarity index 100% rename from powerapi/database/prometheus_db.py rename to src/powerapi/database/prometheus_db.py diff --git a/powerapi/database/socket_db.py b/src/powerapi/database/socket_db.py similarity index 100% rename from powerapi/database/socket_db.py rename to src/powerapi/database/socket_db.py diff --git a/powerapi/database/virtiofs_db.py b/src/powerapi/database/virtiofs_db.py similarity index 100% rename from powerapi/database/virtiofs_db.py rename to src/powerapi/database/virtiofs_db.py diff --git a/powerapi/dispatch_rule/__init__.py b/src/powerapi/dispatch_rule/__init__.py similarity index 100% rename from powerapi/dispatch_rule/__init__.py rename to src/powerapi/dispatch_rule/__init__.py diff --git a/powerapi/dispatch_rule/dispatch_rule.py b/src/powerapi/dispatch_rule/dispatch_rule.py similarity index 100% rename from powerapi/dispatch_rule/dispatch_rule.py rename to src/powerapi/dispatch_rule/dispatch_rule.py diff --git a/powerapi/dispatch_rule/hwpc_dispatch_rule.py b/src/powerapi/dispatch_rule/hwpc_dispatch_rule.py similarity index 100% rename from powerapi/dispatch_rule/hwpc_dispatch_rule.py rename to src/powerapi/dispatch_rule/hwpc_dispatch_rule.py diff --git a/powerapi/dispatch_rule/power_dispatch_rule.py b/src/powerapi/dispatch_rule/power_dispatch_rule.py similarity index 100% rename from powerapi/dispatch_rule/power_dispatch_rule.py rename to src/powerapi/dispatch_rule/power_dispatch_rule.py diff --git a/powerapi/dispatch_rule/procfs_dispatch_rule.py b/src/powerapi/dispatch_rule/procfs_dispatch_rule.py similarity index 100% rename from powerapi/dispatch_rule/procfs_dispatch_rule.py rename to src/powerapi/dispatch_rule/procfs_dispatch_rule.py diff --git a/powerapi/dispatch_rule/simple_dispatch_rule.py b/src/powerapi/dispatch_rule/simple_dispatch_rule.py similarity index 100% rename from powerapi/dispatch_rule/simple_dispatch_rule.py rename to src/powerapi/dispatch_rule/simple_dispatch_rule.py diff --git a/powerapi/dispatcher/__init__.py b/src/powerapi/dispatcher/__init__.py similarity index 100% rename from powerapi/dispatcher/__init__.py rename to src/powerapi/dispatcher/__init__.py diff --git a/powerapi/dispatcher/blocking_detector.py b/src/powerapi/dispatcher/blocking_detector.py similarity index 100% rename from powerapi/dispatcher/blocking_detector.py rename to src/powerapi/dispatcher/blocking_detector.py diff --git a/powerapi/dispatcher/dispatcher_actor.py b/src/powerapi/dispatcher/dispatcher_actor.py similarity index 100% rename from powerapi/dispatcher/dispatcher_actor.py rename to src/powerapi/dispatcher/dispatcher_actor.py diff --git a/powerapi/dispatcher/handlers.py b/src/powerapi/dispatcher/handlers.py similarity index 100% rename from powerapi/dispatcher/handlers.py rename to src/powerapi/dispatcher/handlers.py diff --git a/powerapi/dispatcher/route_table.py b/src/powerapi/dispatcher/route_table.py similarity index 100% rename from powerapi/dispatcher/route_table.py rename to src/powerapi/dispatcher/route_table.py diff --git a/powerapi/dispatcher/simple/__init__.py b/src/powerapi/dispatcher/simple/__init__.py similarity index 100% rename from powerapi/dispatcher/simple/__init__.py rename to src/powerapi/dispatcher/simple/__init__.py diff --git a/powerapi/dispatcher/simple/simple_dispatcher_actor.py b/src/powerapi/dispatcher/simple/simple_dispatcher_actor.py similarity index 100% rename from powerapi/dispatcher/simple/simple_dispatcher_actor.py rename to src/powerapi/dispatcher/simple/simple_dispatcher_actor.py diff --git a/powerapi/dispatcher/simple/simple_dispatcher_handlers.py b/src/powerapi/dispatcher/simple/simple_dispatcher_handlers.py similarity index 100% rename from powerapi/dispatcher/simple/simple_dispatcher_handlers.py rename to src/powerapi/dispatcher/simple/simple_dispatcher_handlers.py diff --git a/powerapi/exception.py b/src/powerapi/exception.py similarity index 100% rename from powerapi/exception.py rename to src/powerapi/exception.py diff --git a/powerapi/filter/__init__.py b/src/powerapi/filter/__init__.py similarity index 100% rename from powerapi/filter/__init__.py rename to src/powerapi/filter/__init__.py diff --git a/powerapi/filter/filter.py b/src/powerapi/filter/filter.py similarity index 100% rename from powerapi/filter/filter.py rename to src/powerapi/filter/filter.py diff --git a/powerapi/formula/__init__.py b/src/powerapi/formula/__init__.py similarity index 100% rename from powerapi/formula/__init__.py rename to src/powerapi/formula/__init__.py diff --git a/powerapi/formula/abstract_cpu_dram_formula.py b/src/powerapi/formula/abstract_cpu_dram_formula.py similarity index 100% rename from powerapi/formula/abstract_cpu_dram_formula.py rename to src/powerapi/formula/abstract_cpu_dram_formula.py diff --git a/powerapi/formula/formula_actor.py b/src/powerapi/formula/formula_actor.py similarity index 100% rename from powerapi/formula/formula_actor.py rename to src/powerapi/formula/formula_actor.py diff --git a/powerapi/formula/handlers.py b/src/powerapi/formula/handlers.py similarity index 100% rename from powerapi/formula/handlers.py rename to src/powerapi/formula/handlers.py diff --git a/powerapi/formula/simple/__init__.py b/src/powerapi/formula/simple/__init__.py similarity index 100% rename from powerapi/formula/simple/__init__.py rename to src/powerapi/formula/simple/__init__.py diff --git a/powerapi/formula/simple/simple_formula_actor.py b/src/powerapi/formula/simple/simple_formula_actor.py similarity index 100% rename from powerapi/formula/simple/simple_formula_actor.py rename to src/powerapi/formula/simple/simple_formula_actor.py diff --git a/powerapi/formula/simple/simple_handlers.py b/src/powerapi/formula/simple/simple_handlers.py similarity index 100% rename from powerapi/formula/simple/simple_handlers.py rename to src/powerapi/formula/simple/simple_handlers.py diff --git a/powerapi/handler/__init__.py b/src/powerapi/handler/__init__.py similarity index 100% rename from powerapi/handler/__init__.py rename to src/powerapi/handler/__init__.py diff --git a/powerapi/handler/handler.py b/src/powerapi/handler/handler.py similarity index 100% rename from powerapi/handler/handler.py rename to src/powerapi/handler/handler.py diff --git a/powerapi/handler/poison_pill_message_handler.py b/src/powerapi/handler/poison_pill_message_handler.py similarity index 100% rename from powerapi/handler/poison_pill_message_handler.py rename to src/powerapi/handler/poison_pill_message_handler.py diff --git a/powerapi/handler/start_handler.py b/src/powerapi/handler/start_handler.py similarity index 100% rename from powerapi/handler/start_handler.py rename to src/powerapi/handler/start_handler.py diff --git a/powerapi/message.py b/src/powerapi/message.py similarity index 100% rename from powerapi/message.py rename to src/powerapi/message.py diff --git a/powerapi/processor/__init__.py b/src/powerapi/processor/__init__.py similarity index 100% rename from powerapi/processor/__init__.py rename to src/powerapi/processor/__init__.py diff --git a/powerapi/processor/handlers.py b/src/powerapi/processor/handlers.py similarity index 100% rename from powerapi/processor/handlers.py rename to src/powerapi/processor/handlers.py diff --git a/powerapi/processor/pre/__init__.py b/src/powerapi/processor/pre/__init__.py similarity index 100% rename from powerapi/processor/pre/__init__.py rename to src/powerapi/processor/pre/__init__.py diff --git a/powerapi/processor/pre/k8s/__init__.py b/src/powerapi/processor/pre/k8s/__init__.py similarity index 100% rename from powerapi/processor/pre/k8s/__init__.py rename to src/powerapi/processor/pre/k8s/__init__.py diff --git a/powerapi/processor/pre/k8s/k8s_monitor.py b/src/powerapi/processor/pre/k8s/k8s_monitor.py similarity index 100% rename from powerapi/processor/pre/k8s/k8s_monitor.py rename to src/powerapi/processor/pre/k8s/k8s_monitor.py diff --git a/powerapi/processor/pre/k8s/k8s_pre_processor_actor.py b/src/powerapi/processor/pre/k8s/k8s_pre_processor_actor.py similarity index 100% rename from powerapi/processor/pre/k8s/k8s_pre_processor_actor.py rename to src/powerapi/processor/pre/k8s/k8s_pre_processor_actor.py diff --git a/powerapi/processor/pre/k8s/k8s_pre_processor_handlers.py b/src/powerapi/processor/pre/k8s/k8s_pre_processor_handlers.py similarity index 100% rename from powerapi/processor/pre/k8s/k8s_pre_processor_handlers.py rename to src/powerapi/processor/pre/k8s/k8s_pre_processor_handlers.py diff --git a/powerapi/processor/pre/libvirt/__init__.py b/src/powerapi/processor/pre/libvirt/__init__.py similarity index 100% rename from powerapi/processor/pre/libvirt/__init__.py rename to src/powerapi/processor/pre/libvirt/__init__.py diff --git a/powerapi/processor/pre/libvirt/libvirt_pre_processor_actor.py b/src/powerapi/processor/pre/libvirt/libvirt_pre_processor_actor.py similarity index 100% rename from powerapi/processor/pre/libvirt/libvirt_pre_processor_actor.py rename to src/powerapi/processor/pre/libvirt/libvirt_pre_processor_actor.py diff --git a/powerapi/processor/pre/libvirt/libvirt_pre_processor_handlers.py b/src/powerapi/processor/pre/libvirt/libvirt_pre_processor_handlers.py similarity index 100% rename from powerapi/processor/pre/libvirt/libvirt_pre_processor_handlers.py rename to src/powerapi/processor/pre/libvirt/libvirt_pre_processor_handlers.py diff --git a/powerapi/processor/processor_actor.py b/src/powerapi/processor/processor_actor.py similarity index 100% rename from powerapi/processor/processor_actor.py rename to src/powerapi/processor/processor_actor.py diff --git a/powerapi/puller/__init__.py b/src/powerapi/puller/__init__.py similarity index 100% rename from powerapi/puller/__init__.py rename to src/powerapi/puller/__init__.py diff --git a/powerapi/puller/handlers.py b/src/powerapi/puller/handlers.py similarity index 100% rename from powerapi/puller/handlers.py rename to src/powerapi/puller/handlers.py diff --git a/powerapi/puller/puller_actor.py b/src/powerapi/puller/puller_actor.py similarity index 100% rename from powerapi/puller/puller_actor.py rename to src/powerapi/puller/puller_actor.py diff --git a/powerapi/puller/simple/__init__.py b/src/powerapi/puller/simple/__init__.py similarity index 100% rename from powerapi/puller/simple/__init__.py rename to src/powerapi/puller/simple/__init__.py diff --git a/powerapi/puller/simple/simple_puller_actor.py b/src/powerapi/puller/simple/simple_puller_actor.py similarity index 100% rename from powerapi/puller/simple/simple_puller_actor.py rename to src/powerapi/puller/simple/simple_puller_actor.py diff --git a/powerapi/puller/simple/simple_puller_handlers.py b/src/powerapi/puller/simple/simple_puller_handlers.py similarity index 100% rename from powerapi/puller/simple/simple_puller_handlers.py rename to src/powerapi/puller/simple/simple_puller_handlers.py diff --git a/powerapi/pusher/__init__.py b/src/powerapi/pusher/__init__.py similarity index 100% rename from powerapi/pusher/__init__.py rename to src/powerapi/pusher/__init__.py diff --git a/powerapi/pusher/handlers.py b/src/powerapi/pusher/handlers.py similarity index 100% rename from powerapi/pusher/handlers.py rename to src/powerapi/pusher/handlers.py diff --git a/powerapi/pusher/pusher_actor.py b/src/powerapi/pusher/pusher_actor.py similarity index 100% rename from powerapi/pusher/pusher_actor.py rename to src/powerapi/pusher/pusher_actor.py diff --git a/powerapi/pusher/simple/__init__.py b/src/powerapi/pusher/simple/__init__.py similarity index 100% rename from powerapi/pusher/simple/__init__.py rename to src/powerapi/pusher/simple/__init__.py diff --git a/powerapi/pusher/simple/simple_pusher_actor.py b/src/powerapi/pusher/simple/simple_pusher_actor.py similarity index 100% rename from powerapi/pusher/simple/simple_pusher_actor.py rename to src/powerapi/pusher/simple/simple_pusher_actor.py diff --git a/powerapi/pusher/simple/simple_pusher_handlers.py b/src/powerapi/pusher/simple/simple_pusher_handlers.py similarity index 100% rename from powerapi/pusher/simple/simple_pusher_handlers.py rename to src/powerapi/pusher/simple/simple_pusher_handlers.py diff --git a/powerapi/report/__init__.py b/src/powerapi/report/__init__.py similarity index 100% rename from powerapi/report/__init__.py rename to src/powerapi/report/__init__.py diff --git a/powerapi/report/control_report.py b/src/powerapi/report/control_report.py similarity index 100% rename from powerapi/report/control_report.py rename to src/powerapi/report/control_report.py diff --git a/powerapi/report/formula_report.py b/src/powerapi/report/formula_report.py similarity index 100% rename from powerapi/report/formula_report.py rename to src/powerapi/report/formula_report.py diff --git a/powerapi/report/hwpc_report.py b/src/powerapi/report/hwpc_report.py similarity index 100% rename from powerapi/report/hwpc_report.py rename to src/powerapi/report/hwpc_report.py diff --git a/powerapi/report/power_report.py b/src/powerapi/report/power_report.py similarity index 100% rename from powerapi/report/power_report.py rename to src/powerapi/report/power_report.py diff --git a/powerapi/report/procfs_report.py b/src/powerapi/report/procfs_report.py similarity index 100% rename from powerapi/report/procfs_report.py rename to src/powerapi/report/procfs_report.py diff --git a/powerapi/report/report.py b/src/powerapi/report/report.py similarity index 100% rename from powerapi/report/report.py rename to src/powerapi/report/report.py diff --git a/powerapi/utils/__init__.py b/src/powerapi/utils/__init__.py similarity index 100% rename from powerapi/utils/__init__.py rename to src/powerapi/utils/__init__.py diff --git a/powerapi/utils/cli.py b/src/powerapi/utils/cli.py similarity index 100% rename from powerapi/utils/cli.py rename to src/powerapi/utils/cli.py diff --git a/powerapi/utils/json_stream.py b/src/powerapi/utils/json_stream.py similarity index 100% rename from powerapi/utils/json_stream.py rename to src/powerapi/utils/json_stream.py diff --git a/powerapi/utils/stat_buffer.py b/src/powerapi/utils/stat_buffer.py similarity index 100% rename from powerapi/utils/stat_buffer.py rename to src/powerapi/utils/stat_buffer.py diff --git a/powerapi/utils/sync.py b/src/powerapi/utils/sync.py similarity index 100% rename from powerapi/utils/sync.py rename to src/powerapi/utils/sync.py diff --git a/powerapi/utils/tree.py b/src/powerapi/utils/tree.py similarity index 100% rename from powerapi/utils/tree.py rename to src/powerapi/utils/tree.py diff --git a/powerapi/utils/utils.py b/src/powerapi/utils/utils.py similarity index 100% rename from powerapi/utils/utils.py rename to src/powerapi/utils/utils.py