Skip to content

Commit

Permalink
Merge pull request #527 from RedBearAK/dev_beta
Browse files Browse the repository at this point in the history
Remove all refs to obsolete/deleted env module
  • Loading branch information
RedBearAK authored Feb 9, 2025
2 parents 7d3b1fa + e36abfb commit 1f4786a
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 431 deletions.
4 changes: 1 addition & 3 deletions cosmic-dbus-service/toshy_cosmic_dbus_service.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
__version__ = '20241014'
__version__ = '20250208'

# Reference for generating the protocol modules with pywayland scanner:
# https://github.com/flacjacket/pywayland/issues/8#issuecomment-987040284
Expand Down Expand Up @@ -56,8 +56,6 @@
os.environ['PYTHONPATH'] = f'{parent_folder_path}:{current_folder_path}:{existing_path}'

# local imports now that path is prepped
import lib.env as env

from lib.env_context import EnvironmentInfo

from protocols.cosmic_toplevel_info_unstable_v1.zcosmic_toplevel_info_v1 import (
Expand Down
5 changes: 2 additions & 3 deletions default-toshy-config/toshy_config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
__version__ = '20250128'
__version__ = '20250208'
###############################################################################
############################ Welcome to Toshy! ############################
###
Expand Down Expand Up @@ -156,8 +156,7 @@
current_folder_path = os.path.dirname(os.path.abspath(config_globals["__config__"]))
sys.path.insert(0, current_folder_path)

import lib.env

# Local imports after path has been set
from lib.env_context import EnvironmentInfo
from lib.machine_context import get_machine_id_hash
from lib.notification_manager import NotificationManager
Expand Down
5 changes: 2 additions & 3 deletions default-toshy-config/toshy_config_barebones.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
__version__ = '20241212'
__version__ = '20250208'
###############################################################################
############################ Welcome to Toshy! ############################
###
Expand Down Expand Up @@ -75,8 +75,7 @@
current_folder_path = os.path.dirname(os.path.abspath(config_globals["__config__"]))
sys.path.insert(0, current_folder_path)

import lib.env

# Local imports after path has been set
from lib.env_context import EnvironmentInfo
from lib.machine_context import get_machine_id_hash
from lib.notification_manager import NotificationManager
Expand Down
4 changes: 1 addition & 3 deletions kde-kwin-dbus-service/toshy_kde_dbus_service.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
__version__ = '20241016'
__version__ = '20250208'

print("(--) Starting Toshy D-Bus service to receive updates from KWin script...")

Expand Down Expand Up @@ -42,8 +42,6 @@
os.environ['PYTHONPATH'] = f'{parent_folder_path}:{current_folder_path}:{existing_path}'

# local imports now that path is prepped
import lib.env as env

from lib.env_context import EnvironmentInfo

if os.name == 'posix' and os.geteuid() == 0:
Expand Down
2 changes: 0 additions & 2 deletions kde-kwin-dbus-service/toshy_kde_kwin_script_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
os.environ['PYTHONPATH'] = f'{parent_folder_path}:{current_folder_path}:{existing_path}'

# local imports now that path is prepped
import lib.env as env

from lib.env_context import EnvironmentInfo

if os.name == 'posix' and os.geteuid() == 0:
Expand Down
Loading

0 comments on commit 1f4786a

Please sign in to comment.