added missing build packages for snap
This commit is contained in:
parent
ec6be50dde
commit
34e8a17f0a
4
setup.py
4
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']
|
||||
)
|
||||
)
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue