Skip to content

Commit

Permalink
fix lenovolegionlinux setup.cfg
Browse files Browse the repository at this point in the history
* add add custom license info to darkdetect
* add license file to lenovolegionlinux rpm spec file

Signed-off-by: Gonçalo Duarte <[email protected]>
  • Loading branch information
MrDuartePT committed Dec 15, 2023
1 parent 9c6dc84 commit 3846c60
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 8 deletions.
1 change: 1 addition & 0 deletions deploy/build_packages/lenovolegionlinux.spec
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ install -D -m 0644 %{_builddir}/%{srcname}-%{version}-prerelease/python/legion_l

%files -n python-%{srcname}
%doc README.md
%license LICENSE
%{python3_sitelib}/%{libname}
%{python3_sitelib}/%{libname}-%{version}.dist-info
%{_bindir}/fancurve-set
Expand Down
1 change: 1 addition & 0 deletions deploy/build_packages/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ author_email = [email protected]
description = Detect OS Dark Mode from Python
long_description = file: README.md
long_description_content_type = text/markdown
license = Custom License
license_files = LICENSE
url = https://github.com/albertosottile/darkdetect
project_urls =
Expand Down
38 changes: 30 additions & 8 deletions python/legion_linux/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[metadata]
name = legion_linux
version = 1.0.0
version = _VERSION
author = johnfan
author_email = [email protected]
description = Control Lenovo Legion laptop
long_description = file: README.md
license = GPL-2.0
license_files = LICENSE
long_description_content_type = text/markdown
url = https://github.com/johnfanv2/LenovoLegionLinux
project_urls =
Expand All @@ -15,18 +16,39 @@ classifiers =
Programming Language :: Python :: 3

[options]
package_dir =
= .
packages = find:
python_requires = >=3.6
packages = find:
install_requires=
PyQT5
PyYAML
argcomplete
darkdetect

[options.packages.find]
where = .
exclude =
tests

[options.entry_points]
console_scripts =
legion_cli= legion_cli:main
legion_gui= legion_gui:main
legion_cli= legion_linux.legion_cli:main
legion_gui= legion_linux.legion_gui:main

[options.package_data]
* = legion_logo.png, legion_logo_light.png, legion_logo_dark.png

[options.data_files]
data = legion_gui.desktop
share/pixmaps/ =
legion_linux/legion_logo.png
legion_linux/legion_logo_light.png
legion_linux/legion_logo_dark.png
share/applications/ =
legion_linux/legion_gui.desktop
legion_linux/legion_gui_user.desktop
share/polkit-1/actions/ =
legion_linux/legion_cli.policy
legion_linux/legion_gui.policy
share/legion_linux/ =
legion_linux/extra/service/.env
legion_linux/extra/service/profiles/*
bin/ =
legion_linux/extra/service/fancurve-set

0 comments on commit 3846c60

Please sign in to comment.