
The easiest solution for you would be for ChimeraX to bundle in the compatible version of PyQtChart. But we can't without releasing ChimeraX under the GPL license. And we're not willing to do that at this time. So the next best thing is for you to give an explicit version in the dependency tag. Right now, ChimeraX is using PyQt5 5.12.3 with Qt 5.12.8. So the dependencies should be (untested!): ... <Dependencies> <Dependency name="pyqtchart" version="==5.12"/ <Dependency name="ChimeraX-Core" version="~=1.0rc1"/> </Dependencies> ... And after the ChimeraX 1.0 release, change that dependency to "~=1.0.0", and you should consider making your bundle generally available on the ChimeraX Toolshed. Later, when ChimeraX 1.1 comes out that uses a different version of PyQt, you will need to make a new release of your bundle with those dependencies. That is, your bundle will need to be tied to the exact version of ChimeraX. HTH, Greg On 5/13/2020 5:11 PM, Anthony James Schaefer wrote:
Hello,
I'm interesting in using pyqtchart (https://pypi.org/project/PyQtChart/) as an alternative to matplotlib for some plots in my bundle (I like the default style better, it resizes better - small things like that). If I list pyqtchart as a dependency in my bundle_info.xml like
... <Dependencies> <Dependency name="pyqtchart"/> </Dependencies> ...
a new version of PyQt5 gets installed in the directory where bundles get installed. The QChart module from pyqtchart gets installed in this new PyQt5 package. I can't use the QChart module because it's not in the PyQt5 that ChimeraX uses.
Is there anything I can do with my bundle to get it to install a usable pyqtchart?
Thanks,
Tony
_______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users