[Distutils] sdist command doesn't include data files

Arve Knudsen arve.knudsen at gmail.com
Mon Jan 15 23:01:52 CET 2007


On 1/15/07, Phillip J. Eby <pje at telecommunity.com> wrote:
>
> 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?


Because I have defined which *Python* packages I wish to include,
include_package_data trips all over this
by including other Python packages. I thought it was to add packages'
data files? For me it is quite useless since I can't
(to my knowledge) control its choice of files, apart from specifying
exclusion patterns iff exclude_package_data is indeed recognized by sdist?

Regards,
Arve Knudsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/distutils-sig/attachments/20070115/13f4ed2f/attachment.htm 


More information about the Distutils-SIG mailing list