mirror of https://github.com/python/cpython
Added 'get_inputs()' methods, needed by the "install" command's
'get_inputs()'.
This commit is contained in:
parent
ba0506b349
commit
e30b7a91c7
|
@ -18,3 +18,6 @@ class install_data (install_misc):
|
|||
|
||||
def run (self):
|
||||
self._copy_files(self.distribution.data)
|
||||
|
||||
def get_inputs (self):
|
||||
return self.distribution.data or []
|
||||
|
|
|
@ -32,4 +32,7 @@ class install_scripts(install_misc):
|
|||
self.announce("changing mode of %s to %o" % (file, mode))
|
||||
os.chmod(file, mode)
|
||||
|
||||
def get_inputs (self):
|
||||
return self.distribution.scripts or []
|
||||
|
||||
# class install_scripts
|
||||
|
|
Loading…
Reference in New Issue