Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mightqxc committed Mar 25, 2024
1 parent dcb8761 commit 331d916
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions bin/hgcs_master.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
from hgcs import hgcs_config # noqa: E402
from hgcs import utils # noqa: E402

from ..HGCS.pkg_info import release_version

# # Get main directory path
# _MAIN_DIR = os.path.join( os.path.dirname(__file__), '..' )
#
Expand Down Expand Up @@ -90,7 +88,7 @@ def main():
# master log
main_logger = logging.getLogger("hgcs_main")
utils.setup_logger(main_logger, pid=os.getpid(), colored=logger_format_colored, to_file=log_file)
main_logger.info(f"This is HGCS v{release_version}")
main_logger.info(f"This is HGCS")
# run threads
for thr in thread_list:
print(f"Start thread of agent {thr.__class__.__name__}")
Expand Down
1 change: 0 additions & 1 deletion lib/hgcs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

import htcondor

from ...HGCS.pkg_info import release_version

# ===============================================================

Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ dependencies = [
]

[project.optional-dependencies]
kubernetes = ['kubernetes', 'pyyaml']
mysql = ['mysqlclient']
atlasgrid = ['uWSGI >= 2.0.20', 'htcondor >= 10.3.0', 'mysqlclient >= 2.1.1']
atlasgrid = ['htcondor >= 10.3.0']

[project.urls]
Homepage = "https://github.com/PanDAWMS/HGCS"
Expand Down

0 comments on commit 331d916

Please sign in to comment.