Skip to content

Commit

Permalink
Update meson and pyhton build
Browse files Browse the repository at this point in the history
- Add cli_args during meson build
- Remove setuptools build option
- Set process title in main.py
  • Loading branch information
hsbasu committed Oct 20, 2024
1 parent b30c1c2 commit 8ed0b2e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ build-backend = 'mesonpy'
requires = [
"meson >= 1.3.0",
"meson-python >= 0.14.0",
"setuptools>=59"
]

[project]
Expand Down
4 changes: 3 additions & 1 deletion src/ThemeManager/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
#

# import the necessary modules!
import argparse
import gettext
import locale
import logging
import setproctitle
import sys

# imports from current package
Expand All @@ -40,6 +40,8 @@
gettext.textdomain(APP)
_ = gettext.gettext

setproctitle.setproctitle(APP)

# Parse arguments
parser = command_line_args()
args = parser.parse_args()
Expand Down
1 change: 1 addition & 0 deletions src/ThemeManager/meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
python_sources = [
'about_window.py',
'cli_args.py',
'common.py',
'DesktopTheme.py',
'gui.py',
Expand Down

0 comments on commit 8ed0b2e

Please sign in to comment.