<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>As far as I know this can't be done in a pyproject.toml directly.
      But you can write a custom build backend with a python function
      that returns the requirements. So you can sue custom code to
      finding out the requirements. See
      <a class="moz-txt-link-freetext" href="https://setuptools.pypa.io/en/latest/build_meta.html">https://setuptools.pypa.io/en/latest/build_meta.html</a>.</p>
    <div class="moz-cite-prefix">Am 09.08.25 um 18:41 schrieb Detlev
      Offenbach:<br>
    </div>
    <blockquote type="cite"
      cite="mid:13667f5f-dccd-4fa5-80a5-39c78c6cd269@die-offenbachs.de">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <p><font size="2">Hello,</font></p>
      <p><font size="2">I would like to modify the eric-ide
          pyproject.toml file such, that some dependencies get installed
          depending on the PyQt6 version installed (or selected).
          Specifically I would like PyQt6-Graphs being installed, if
          PyQt6 version is >= 6.8.0, and PyQt6-Charts gets installed,
          if PyQt6 version is < 6.8.0. </font></p>
      <p><font size="2">How do I specify that in the pyproject.toml
          file?</font></p>
      <p><font size="2">Regards,<br>
          Detlev</font></p>
      <pre class="moz-signature" cols="72">-- 
Detlev Offenbach
<a class="moz-txt-link-abbreviated moz-txt-link-freetext"
      href="mailto:detlev@die-offenbachs.de" moz-do-not-send="true">detlev@die-offenbachs.de</a></pre>
    </blockquote>
  </body>
</html>