-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
45 lines (36 loc) · 1.19 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
from setuptools import setup
from pathlib import Path
__version__ = "0.8.4"
requirements = [
'PySide6',
'psutil',
'py-cpuinfo',
]
scripts = [
'i8kgui/i8kgui',
'i8kgui/i8kgui_thermal_control',
]
def get_data_files():
return [
("share/applications", ['i8kgui/desktop/i8kgui.desktop']),
("share/icons", ['i8kgui/icons/i8kgui_icon.png']),
("share/polkit-1/actions", ['i8kgui/polkit_actions/ubuntu/com.ubuntu.pkexec.i8kgui_thermal_control.policy']),
("share/polkit-1/actions", ['i8kgui/polkit_actions/ubuntu/com.ubuntu.pkexec.smbios-thermal-ctl.policy']),
]
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
setup(
name='i8kgui',
version=__version__,
packages=['i8kgui'],
scripts=scripts,
install_requires=requirements,
url='https://github.com/razman786/i8kgui',
license='GPL',
author='Raz',
author_email='[email protected]',
description='A Dell thermal management GUI to control fan speeds and monitor temperatures.',
long_description=long_description,
long_description_content_type='text/markdown',
data_files=get_data_files(),
)