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: