Skip to content

Commit

Permalink
Merge pull request #63 from lunarc/develop
Browse files Browse the repository at this point in the history
Merge for release
  • Loading branch information
jonaslindemann authored Sep 24, 2024
2 parents 888880d + ae2e6b5 commit d1909a3
Show file tree
Hide file tree
Showing 53 changed files with 2,755 additions and 129 deletions.
8 changes: 8 additions & 0 deletions gfxconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from lhpcdt.gfxconfig import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
11 changes: 8 additions & 3 deletions gfxlaunch
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/sh
GFXLAUNCH_DIR="$( cd "$(dirname "$0")" ; pwd -P )"
python3 $GFXLAUNCH_DIR/gfxlaunch.py "$@"
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from lhpcdt.gfxlaunch import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
11 changes: 8 additions & 3 deletions gfxmenu
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/sh
GFXLAUNCH_DIR="$( cd "$(dirname "$0")" ; pwd -P )"
python3 $GFXLAUNCH_DIR/gfxmenu.py "$@"
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from lhpcdt.gfxmenu import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
11 changes: 8 additions & 3 deletions gfxnodes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/sh
GFXLAUNCH_DIR="$( cd "$(dirname "$0")" ; pwd -P )"
python3 $GFXLAUNCH_DIR/gfxnodes.py "$@"
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from lhpcdt.gfxnodes import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
81 changes: 0 additions & 81 deletions gfxrun

This file was deleted.

11 changes: 8 additions & 3 deletions gfxusage
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/sh
GFXLAUNCH_DIR="$( cd "$(dirname "$0")" ; pwd -P )"
python3 $GFXLAUNCH_DIR/gfxusage.py "$@"
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from lhpcdt.gfxusage import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
109 changes: 109 additions & 0 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[project]
name = "gfxlauncher"
version = "0.9.13"
description = "The GFX Launcher toolkit provide the means for launching graphical applications through SLURM. The toolkit comes with a configurable launcher, graphical job monitor and tools for automatically generating menus and shortcuts for the launcher."
authors = [
{name = "Jonas Lindemann", email = "jonas.lindemann@lunarc.lu.se"},
]
dependencies = [
"qtpy>=2.0.1",
"pyqt5>=5.15.6",
]
requires-python = ">=3.6"
readme = "README.md"
license = {text = "GPL-3.0"}

[project.scripts]
gfxlaunch = "lhpcdt.gfxlaunch:main"
gfxusage = "lhpcdt.gfxusage:main"
gfxmenu = "lhpcdt.gfxmenu:main"
gfxnodes = "lhpcdt.gfxnodes:main"
gfxconfig = "lhpcdt.gfxconfig:main"


[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"

[tool]
[tool.pdm]
2 changes: 1 addition & 1 deletion lhpcdt/__init__.py → src/lhpcdt/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__all__ = ['jobs', 'launcher', 'lrms', 'remote', 'settings', 'slurm', 'config', 'desktop', 'lmod', 'lmod_ui', 'splash_win', 'resource_win', 'monitor', 'hostlist', 'integration', 'scripts', 'node_monitor', 'ui_main_window_simplified', 'ui_job_info', 'ui_lmod_query', 'ui_main_window_simplified', 'ui_node_window', 'ui_notebook_job_prop_win', 'ui_resource_specification', 'ui_session_manager', 'toolbar_icons_rc']
__all__ = ['jobs', 'launcher', 'lrms', 'remote', 'settings', 'slurm', 'config', 'desktop', 'lmod', 'lmod_ui', 'splash_win', 'resource_win', 'monitor', 'hostlist', 'integration', 'scripts', 'node_monitor', 'ui_main_window_simplified', 'ui_job_info', 'ui_lmod_query', 'ui_main_window_simplified', 'ui_node_window', 'ui_notebook_job_prop_win', 'ui_resource_specification', 'ui_session_manager', 'toolbar_icons_rc', 'setup_win', 'basic_config']
Loading

0 comments on commit d1909a3

Please sign in to comment.