Philip, I've now modified the latest setuptools (0.6c5) so that the egg_info command respects package_data and exclude_package_data when creating its sources manifest (and thus influencing sdist's choice of files). Does this sound like the right approach to you (I figured sdist should base its choice of files on egg_info)?
<br><br>I&#39;ve encountered one problem so far, which is that if data files are both listed in *.egg-info/SOURCES.txt and exclude_package_data they are not excluded. This may happen if files are added to the exclude list after a .egg-info is already generated. I&#39;m not familiar enough with setuptools&#39; design to know how to best solve this.
<br><br>Please let me know what you think.<br><br>Best,<br>Arve<br><br><div><span class="gmail_quote">On 2/3/07, <b class="gmail_sendername">Arve Knudsen</b> &lt;<a href="mailto:aknuds-1@broadpark.no">aknuds-1@broadpark.no
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Sat, 03 Feb 2007 17:03:27 +0100, Phillip J. Eby &lt;<a href="mailto:pje@telecommunity.com">
pje@telecommunity.com</a>&gt;<br>wrote:<br><br>&gt; At 12:48 PM 2/3/2007 +0100, Arve Knudsen wrote:<br>&gt;&gt; Funny, I seem to recall having raised the same issue, but not receiving<br>&gt;&gt; much in way of an answer. Glad to see it&#39;s being taken care of at least.
<br>&gt;<br>&gt; Um, it&#39;s not being &quot;taken care of&quot;.&nbsp;&nbsp;As I said, &quot;a patch would go a long<br>&gt; way towards getting it in.&quot;&nbsp;&nbsp;That means it&#39;s probably *not* being taken<br>&gt; care of any time soon, unless somebody submits one.
<br><br>I interpreted you as having recognized the problem, but that it would not<br>make it into 0.6.&nbsp;&nbsp;As long as it can be scheduled for a future version I<br>can try my hand at contributing a patch (unless someone else wants to).
<br><br>Arve<br>_______________________________________________<br>Distutils-SIG maillist&nbsp;&nbsp;-&nbsp;&nbsp;<a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/distutils-sig">
http://mail.python.org/mailman/listinfo/distutils-sig</a><br></blockquote></div><br>