diff --git a/cpu_governor_auto_adjust/config.py b/cpu_governor_auto_adjust/config.py index 5746463..33fad5d 100644 --- a/cpu_governor_auto_adjust/config.py +++ b/cpu_governor_auto_adjust/config.py @@ -1,13 +1,15 @@ import logging -from cpu_governor_auto_adjust.logger import getLogger from pathlib import Path from lxml import etree from functools import cached_property, lru_cache -from arguments import ArgumentsParser from typing import NamedTuple, Optional, Any from collections import OrderedDict import xmltodict +from cpu_governor_auto_adjust.arguments import ArgumentsParser +from cpu_governor_auto_adjust.logger import getLogger + + class TriggerTuple(NamedTuple): name: str type: str diff --git a/pyproject.toml b/pyproject.toml index 08fd271..534145a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "cpu_governor_auto_adjust" -version = "0.1.1" +version = "0.1.5" description = "This application has been developed to automatically change cpu governor based on certain triggers." authors = [ { name = "Martin Reurekas", email = "martin@semrks.nl" } @@ -9,6 +9,8 @@ license = { file = "LICENSE" } readme = "README.md" requires-python = ">=3.12" dependencies = [ + "xmltodict", + "lxml", "roonapi", "cpufreq" ] diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index a221ff7..0000000 --- a/requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ -cpufreq==0.3.5 -roonapi==0.1.6