List data files are listed in the Distribution attribute 'data_files',

rather than 'data'.
This commit is contained in:
Gregory P. Smith 2000-05-13 03:09:50 +00:00
parent c59d4e0777
commit 6a901dd1bd
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ class install_data (install_misc):
self._install_dir_from('install_data') self._install_dir_from('install_data')
def run (self): def run (self):
self._copy_files(self.distribution.data) self._copy_files(self.distribution.data_files)
def get_inputs (self): def get_inputs (self):
return self.distribution.data or [] return self.distribution.data_files or []

View File

@ -155,7 +155,7 @@ class Distribution:
self.include_dirs = None self.include_dirs = None
self.extra_path = None self.extra_path = None
self.scripts = None self.scripts = None
self.data = None self.data_files = None
# And now initialize bookkeeping stuff that can't be supplied by # And now initialize bookkeeping stuff that can't be supplied by
# the caller at all. 'command_obj' maps command names to # the caller at all. 'command_obj' maps command names to