diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2000-05-13 03:09:50 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2000-05-13 03:09:50 (GMT) |
commit | 6a901dd1bd1d2cfdd744bf7524ccb9b890b28d06 (patch) | |
tree | 8734af57678d71538cc75d4a31f2fc6183fb804f /Lib/distutils/command/install_data.py | |
parent | c59d4e07777ddb98013bc21256534bc4898be988 (diff) | |
download | cpython-6a901dd1bd1d2cfdd744bf7524ccb9b890b28d06.zip cpython-6a901dd1bd1d2cfdd744bf7524ccb9b890b28d06.tar.gz cpython-6a901dd1bd1d2cfdd744bf7524ccb9b890b28d06.tar.bz2 |
List data files are listed in the Distribution attribute 'data_files',
rather than 'data'.
Diffstat (limited to 'Lib/distutils/command/install_data.py')
-rw-r--r-- | Lib/distutils/command/install_data.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/command/install_data.py b/Lib/distutils/command/install_data.py index 448614b..fd9836b 100644 --- a/Lib/distutils/command/install_data.py +++ b/Lib/distutils/command/install_data.py @@ -17,7 +17,7 @@ class install_data (install_misc): self._install_dir_from('install_data') def run (self): - self._copy_files(self.distribution.data) + self._copy_files(self.distribution.data_files) def get_inputs (self): - return self.distribution.data or [] + return self.distribution.data_files or [] |