mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
List data files are listed in the Distribution attribute 'data_files',
rather than 'data'.
This commit is contained in:
parent
c59d4e0777
commit
6a901dd1bd
2 changed files with 3 additions and 3 deletions
|
|
@ -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 []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue