<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>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.</p>
<p><br>
</p>
<p>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!):</p>
<p> ...<br>
<Dependencies><br>
<Dependency name="pyqtchart" version="==5.12"/</p>
<p> <Dependency name="ChimeraX-Core" version="~=1.0rc1"/></p>
<p></Dependencies><br>
...</p>
<p>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.<br>
</p>
<p><br>
</p>
<p> HTH,</p>
<p><br>
</p>
<p> Greg<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 5/13/2020 5:11 PM, Anthony James
Schaefer wrote:<br>
</div>
<blockquote type="cite"
cite="mid:MN2PR02MB59012AB1EFFCE857DFA3E109FCBF0@MN2PR02MB5901.namprd02.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Arial, Helvetica, sans-serif;">Hello,</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Arial, Helvetica, sans-serif;">I'm
interesting in using pyqtchart (</span><a
href="https://pypi.org/project/PyQtChart/" id="LPNoLP666198"
moz-do-not-send="true"><span style="font-family: Arial,
Helvetica, sans-serif;">https://pypi.org/project/PyQtChart/</span></a><span
style="font-family: Arial, Helvetica, sans-serif;">) 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</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Arial, Helvetica, sans-serif;">...</span><br>
</div>
<span style="font-family: Arial, Helvetica, sans-serif;"><Dependencies></span><br>
<div><span style="font-family: Arial, Helvetica, sans-serif;">
<Dependency name="pyqtchart"/></span><br>
</div>
<div><span style="font-family: Arial, Helvetica, sans-serif;"></Dependencies></span></div>
<div><span style="font-family: Arial, Helvetica, sans-serif;">...<br>
</span></div>
<div><span><br>
</span></div>
<div><span style="font-family: Arial, Helvetica, sans-serif;">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. </span><span><br>
</span></div>
<div><span><br>
</span></div>
<div><span style="font-family: Arial, Helvetica, sans-serif;">Is
there anything I can do with my bundle to get it to install a
usable pyqtchart?</span></div>
<div><span><br>
</span></div>
<div><span style="font-family: Arial, Helvetica, sans-serif;">Thanks,</span></div>
<div><span><br>
</span></div>
<div><span style="font-family: Arial, Helvetica, sans-serif;">Tony</span><span><br>
</span></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
ChimeraX-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ChimeraX-users@cgl.ucsf.edu">ChimeraX-users@cgl.ucsf.edu</a>
Manage subscription:
<a class="moz-txt-link-freetext" href="https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users">https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users</a>
</pre>
</blockquote>
</body>
</html>