Skip to content

Commit 0558d60

Browse files
Add cuetopia entrypoint to cuegui. (#1676)
**Summarize your change.** This changes are motivated by our studio use-case where we want to provide artist with the restricted `Cuetopia` view (job monitoring) but not the `CueCommander` one (hosts + opencue management). Add 2 new separate entry points for `cuegui`: * `cuetopia`: to open only Cuetopia * `cuecommander`: alias to current `cuegui` (CueCommander)
1 parent 5804623 commit 0558d60

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

cuegui/cuegui/__main__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,14 @@
2828

2929

3030
def main():
31-
"""Entrypoint for the CueGUI application."""
31+
"""Entrypoint for the CueGUI/CueCommmander application."""
3232
cuegui.Main.cuecommander(sys.argv)
3333

3434

35+
def cuetopia():
36+
"""Entrypoint for the Cuetopia application."""
37+
cuegui.Main.cuetopia(sys.argv)
38+
39+
3540
if __name__ == '__main__':
3641
main()

cuegui/setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@
5353
},
5454
entry_points={
5555
'console_scripts': [
56-
'cuegui=cuegui.__main__:main'
56+
'cuegui=cuegui.__main__:main',
57+
'cuetopia=cuegui.__main__:cuetopia',
58+
'cuecommander=cuegui.__main__:main'
5759
]
5860
},
5961
test_suite='tests',

0 commit comments

Comments
 (0)