On Jul 2, 2009, at 4:16 AM, Tarek Ziadé wrote:

On Thu, Jul 2, 2009 at 4:44 AM, P.J. Eby<[email protected]> wrote:
At 10:33 AM 7/1/2009 +0100, Chris Withers wrote:

Hi All,

I'm trying to figure out why my package_data is being ignored. Of course,
setuptools ends up being an egg, so it's impossible to pdb through.

So, I thought I'd checkout the setuptools trunk and just use that instead.
But where is it?

The closest I could find is:

http://svn.python.org/projects/sandbox/trunk/setuptools

...but this has no tags, branches, etc. So is this it?

Yes.  The branches are in /sandbox/branches.

(Btw, 'package_data' will cause things to get included at install time, but
it does not put them into sdist.  You'll need to use MANIFEST.in or a
revision-control plugin to get data files included in an sdist.)

At distutils level, that's not true anymore with the current distutils
trunk though, which includes
package_data files without having to put them in the MANIFEST template


Interesting. I didn't realize that this changed. This works at least as far back as Python 2.4, so if it changed, it changed some time ago. Of course, the documentation:

  http://docs.python.org/distutils/setupscript.html#installing-package-data

indicates it should work. It also indicates that this option is new in Python 2.4.

Jim


--
Jim Fulton
Zope Corporation


_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to