mirror of
https://github.com/python/cpython.git
synced 2025-10-22 01:14:01 +00:00
15 lines
349 B
Python
15 lines
349 B
Python
![]() |
from distutils.cmd import install_misc
|
||
|
|
||
|
class install_data (install_misc):
|
||
|
|
||
|
description = "install data files"
|
||
|
|
||
|
def finalize_options (self):
|
||
|
self._install_dir_from('install_data')
|
||
|
|
||
|
def run (self):
|
||
|
self._copydata(self.distribution.data)
|
||
|
|
||
|
def get_outputs (self):
|
||
|
return self._outputdata(self.distribution.data)
|