Commit d3e1d51b authored by Gregory P. Smith's avatar Gregory P. Smith

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

rather than 'data'.
parent 783f98d5
...@@ -17,7 +17,7 @@ class install_data (install_misc): ...@@ -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 []
...@@ -155,7 +155,7 @@ class Distribution: ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment