[Distutils] sdist command doesn't include data files

Phillip J. Eby pje at telecommunity.com
Mon Jan 15 17:30:41 CET 2007


At 02:16 PM 1/15/2007 +0100, Arve Knudsen wrote:
>Hi
>I'm experiencing a problem when using setuptools (0.6c5) to generate a 
>source tarball, using the 'sdist' command. What happens is that data files 
>(PNGs) are omitted even though I include them in package_data (keyword to 
>setup), and they are correctly included when installing. Is it the 
>intended behaviour of 'sdist' to ignore package_data, or is this a bug?

They should be included in the sdist.  Are you using CVS or Subversion, and 
if so, are the .png files under revision control?  That information will 
help me narrow down what the problem is.



More information about the Distutils-SIG mailing list