title: How can I tell pyreverse to include classes within modules within packages?
body: <p>I have this folder structure:</p>
  <pre><code>.
  └── src
      ├── a
      │   ├── __init__.py
      │   ├── a.py
      │   └── b.py
      └── main.py
  </code></pre>
  <p>Contents of a/a.py:</p>
  <pre><code>class A:
      def __init__(self):
          self.name = 'a'
  </code></pre>
  <p>Contents of a/b.py</p>
  <pre><code>from a.a import A
  
  
  class B(A):
      def __init__(self):
          self.name = 'b'
  </code></pre>
  <p>Conents of main.py:</p>
  <pre><code>from a.a import A
  from a.b import B
  
  print(A().name)
  print(B().name)
  </code></pre>
  <p>As you can see, class B inherits from class A</p>
  <p>I have confirmed that the program works as expected, so there are no errors in the code</p>
  <p>I wish to run something along the lines of: <code>pyreverse src/**/* -o png</code> and generate a UML diagram showing me that class B inherits from class A (I have a bigger project with many more directories, hence the reason for the <code>**/*</code> part).</p>
  <p>However, what I am getting at the moment is this:</p>
  <p><a href="https://i.stack.imgur.com/uQycq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uQycq.png" alt="enter image description here" /></a></p>
  <p>The expected would be something like this:</p>
  <p><a href="https://i.stack.imgur.com/BudAV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BudAV.png" alt="enter image description here" /></a></p>