George Sakkis <[email protected]> added the comment:
> 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)
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue2279>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com