Message82298
| Author |
gsakkis |
| Recipients |
dripton, gsakkis, tarek |
| Date |
2009年02月17日.03:52:32 |
| SpamBayes Score |
0.0004116966 |
| 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:34 | gsakkis | set | recipients:
+ gsakkis, dripton, tarek |
| 2009年02月17日 03:52:34 | gsakkis | set | messageid: <1234842754.06.0.201965027469.issue2279@psf.upfronthosting.co.za> |
| 2009年02月17日 03:52:33 | gsakkis | link | issue2279 messages |
| 2009年02月17日 03:52:32 | gsakkis | create |
|