[Distutils] sdist command doesn't include data files

Phillip J. Eby pje at telecommunity.com
Mon Jan 15 20:54:37 CET 2007


At 08:20 PM 1/15/2007 +0100, Arve Knudsen wrote:
>So I tried 'include_package_data' instead, after having extended 
>setuptools with support for the Mercurial VCS. This made sdist include 
>also each and every version-controlled Python file however. Is this the 
>intended behaviour?

Yes.  Why would you *not* include them?


>If there's any interest I can provide the source for my Mercurial 
>extension (simple as it may be).

May I suggest that you offer it as a Cheeseshop package instead?  Then 
anyone who wants to use it can just install it.  (I'm assuming, of course, 
that you wrote the extension as a "setuptools.file_finders" entry point.)



More information about the Distutils-SIG mailing list