From 5c3adbef77d5c18d1614aa5616ea75b1cac7f522 Mon Sep 17 00:00:00 2001 From: Adnan Hodzic Date: Fri, 14 Aug 2020 08:38:44 +0200 Subject: [PATCH] implemented env agnostic way to install pip packages (Close: #94) --- auto-cpufreq-installer | 2 +- requirements.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/auto-cpufreq-installer b/auto-cpufreq-installer index 2656503..3288164 100755 --- a/auto-cpufreq-installer +++ b/auto-cpufreq-installer @@ -29,7 +29,7 @@ fi # python packages install pip_pkg_install(){ -pip3 install psutil click distro power setuptools +python3 -m pip install -r requirements.txt } complete_msg(){ diff --git a/requirements.txt b/requirements.txt index 5da3718..42f22e9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,5 @@ +setuptools +power psutil click distro