Skip to content

Commit

Permalink
[cuesubmit] Replace PySide2 with qtpy in CueSubmit files
Browse files Browse the repository at this point in the history
- Import statements updated to use `qtpy` instead of `PySide2`
- Documentation in `README.md` updated to reflect the change
- `setup.py` modified to include `qtpy` in the `install_requires` list instead of `PySide2`
  • Loading branch information
ramonfigueiredo committed Jan 22, 2025
1 parent 011ebc6 commit d52a609
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cuesubmit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ The OpenCue job submission GUI.

This is a Python-based QT app through which you can submit jobs to an OpenCue
deployment. It can run as a standalone application, or as a plugin in
applications that support PySide2 integration, such as Autodesk's Maya or
applications that support PySide/qtpy integration, such as Autodesk's Maya or
the Foundry's Nuke.
2 changes: 1 addition & 1 deletion cuesubmit/plugins/maya/CueMayaSubmit.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import maya.cmds as cmds
import maya.utils
from PySide2 import QtCore, QtWidgets
from qtpy import QtCore, QtWidgets

# Path where all of the Cue Python libraries and their dependencies are installed.
# The recommended workflow is for this to be a virtual environment, like:
Expand Down
2 changes: 1 addition & 1 deletion cuesubmit/plugins/nuke/CueNukeSubmit.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import argparse
import logging

from PySide2 import QtCore, QtWidgets
from qtpy import QtCore, QtWidgets

from cuesubmit import Constants
from cuesubmit import JobTypes
Expand Down
2 changes: 1 addition & 1 deletion cuesubmit/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
'future',
'grpcio',
'grpcio-tools',
'PySide2',
'qtpy',
'PyYAML',
]
)

0 comments on commit d52a609

Please sign in to comment.