title: How to specify version in only one place when using pyproject.toml?
body: <p>My package version is defined in two places:</p>
  <ul>
  <li><code>__version__ = 1.2.3</code> in <code>mypackage/__init__.py</code></li>
  <li><code>version = &quot;1.2.3&quot;</code> in <code>pyproject.toml</code> (I am using Poetry)</li>
  </ul>
  <p>I have to update both whenever I bump the version which is annoying and not DRY. Is there a way to make Python read the version from the TOML, or to make the TOML read the version from Python?</p>