title: How do I generate coverage xml report for a single package?
body: <p>I'm using <strong>nose</strong> and <strong>coverage</strong> to generate coverage reports. I only have one package right now, <em>ae</em>, so I specify to only cover that: </p>
  
  <pre><code>nosetests -w tests/unit --with-xunit --with-coverage --cover-package=ae
  </code></pre>
  
  <p>And here are the results, which look good: </p>
  
  <pre><code>Name             Stmts   Exec  Cover   Missing
  ----------------------------------------------
  ae                   1      1   100%   
  ae.util            253    224    88%   39, 63-65, 284, 287, 362, 406
  ----------------------------------------------
  TOTAL              263    234    88%   
  ----------------------------------------------------------------------
  Ran 68 tests in 5.292s
  </code></pre>
  
  <p>However when I run <code>coverage xml</code>, coverage pulls in more packages than necessary, including python <em>email</em> and <em>logging</em> packages which have nothing to do with my code. </p>
  
  <p>If I run <code>coverage xml ae</code>, I get this error: </p>
  
  <pre><code>No source for code: '/home/wraith/dev/projects/trimurti/src/ae': 
  [Errno 21] Is a directory: '/home/wraith/dev/projects/trimurti/src/ae'
  </code></pre>
  
  <p>Is there a way to generate the XML for just the <em>ae</em> package?</p>