This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gsakkis
Recipients dripton, gsakkis, tarek
Date 2009-02-17.03:52:32
SpamBayes Score 0.000411697
Marked as misclassified No
Message-id <1234842754.06.0.201965027469.issue2279@psf.upfronthosting.co.za>
In-reply-to
Content
> done in r69692 and r69696.

Great, thanks. The data_files part though seems incorrect; for one thing
each item in data_files can be either a (dir,files) tuple or a plain
string, and for two 'dir' is the output (installation) directory, not
the root of 'files'. Here's the relevant part from my module:

if self.distribution.has_data_files():
    for item in self.distribution.data_files:
        if isinstance(item, basestring): # plain file
            self.filelist.append(convert_path(item))
        else: # an (outdir, files) tuple
            outdir,data_files = item
            self.filelist.extend(convert_path(f) for f in data_files)
History
Date User Action Args
2009-02-17 03:52:34gsakkissetrecipients: + gsakkis, dripton, tarek
2009-02-17 03:52:34gsakkissetmessageid: <1234842754.06.0.201965027469.issue2279@psf.upfronthosting.co.za>
2009-02-17 03:52:33gsakkislinkissue2279 messages
2009-02-17 03:52:32gsakkiscreate