Skip to content

Commit

Permalink
Add cuetopia entrypoint to cuegui. (#1676)
Browse files Browse the repository at this point in the history
**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)
  • Loading branch information
robin-ubisoft-helix authored Mar 3, 2025
1 parent 5804623 commit 0558d60
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion cuegui/cuegui/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,14 @@


def main():
"""Entrypoint for the CueGUI application."""
"""Entrypoint for the CueGUI/CueCommmander application."""
cuegui.Main.cuecommander(sys.argv)


def cuetopia():
"""Entrypoint for the Cuetopia application."""
cuegui.Main.cuetopia(sys.argv)


if __name__ == '__main__':
main()
4 changes: 3 additions & 1 deletion cuegui/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
},
entry_points={
'console_scripts': [
'cuegui=cuegui.__main__:main'
'cuegui=cuegui.__main__:main',
'cuetopia=cuegui.__main__:cuetopia',
'cuecommander=cuegui.__main__:main'
]
},
test_suite='tests',
Expand Down

0 comments on commit 0558d60

Please sign in to comment.