From 34e8a17f0a2596364cec660ed1df6ecb2c29c1d1 Mon Sep 17 00:00:00 2001 From: Adnan Hodzic Date: Wed, 5 Aug 2020 23:29:19 +0200 Subject: [PATCH] added missing build packages for snap --- setup.py | 4 ++-- snap/snapcraft.yaml | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index b32d50f..b250152 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ setup( install_requires=read('requirements.txt'), include_package_data=True, zip_safe=True, - licence='GPLv3', + license='GPLv3', keywords='linux cpu speed power frequency turbo optimzier auto cpufreq', classifiers=[ 'Development Status :: 5 - Production/Stable', @@ -32,4 +32,4 @@ setup( 'Natural Language :: English' ], scripts=['bin/auto-cpufreq'] -) \ No newline at end of file +) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 3d2e3f8..96e85f5 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -15,6 +15,10 @@ parts: auto-cpufreq: plugin: python python-version: python3 + build-packages: + - gcc + - python3-dev + - python3-wheel source: . deploy-cpufrectl: @@ -34,7 +38,7 @@ apps: LC_ALL: C.UTF-8 LANG: C.UTF-8 PKG_MARKER: SNAP - + service: command: bin/auto-cpufreq --daemon 2>&1 | tee -a $SNAP_DATA/auto-cpufreq.log plugs: