mirror of
https://github.com/AdnanHodzic/auto-cpufreq.git
synced 2025-07-20 20:24:42 +02:00
added missing build packages for snap
This commit is contained in:
parent
e02f7a6881
commit
50f3b12816
4
setup.py
4
setup.py
@ -22,7 +22,7 @@ setup(
|
|||||||
install_requires=read('requirements.txt'),
|
install_requires=read('requirements.txt'),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
zip_safe=True,
|
zip_safe=True,
|
||||||
licence='GPLv3',
|
license='GPLv3',
|
||||||
keywords='linux cpu speed power frequency turbo optimzier auto cpufreq',
|
keywords='linux cpu speed power frequency turbo optimzier auto cpufreq',
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Development Status :: 5 - Production/Stable',
|
'Development Status :: 5 - Production/Stable',
|
||||||
@ -32,4 +32,4 @@ setup(
|
|||||||
'Natural Language :: English'
|
'Natural Language :: English'
|
||||||
],
|
],
|
||||||
scripts=['bin/auto-cpufreq']
|
scripts=['bin/auto-cpufreq']
|
||||||
)
|
)
|
||||||
|
@ -15,6 +15,10 @@ parts:
|
|||||||
auto-cpufreq:
|
auto-cpufreq:
|
||||||
plugin: python
|
plugin: python
|
||||||
python-version: python3
|
python-version: python3
|
||||||
|
build-packages:
|
||||||
|
- gcc
|
||||||
|
- python3-dev
|
||||||
|
- python3-wheel
|
||||||
source: .
|
source: .
|
||||||
|
|
||||||
deploy-cpufrectl:
|
deploy-cpufrectl:
|
||||||
@ -34,7 +38,7 @@ apps:
|
|||||||
LC_ALL: C.UTF-8
|
LC_ALL: C.UTF-8
|
||||||
LANG: C.UTF-8
|
LANG: C.UTF-8
|
||||||
PKG_MARKER: SNAP
|
PKG_MARKER: SNAP
|
||||||
|
|
||||||
service:
|
service:
|
||||||
command: bin/auto-cpufreq --daemon 2>&1 | tee -a $SNAP_DATA/auto-cpufreq.log
|
command: bin/auto-cpufreq --daemon 2>&1 | tee -a $SNAP_DATA/auto-cpufreq.log
|
||||||
plugs:
|
plugs:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user