X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=AppPkg%2FApplications%2FPython%2FPython-2.7.2%2FLib%2Fdistutils%2Fcommand%2Finstall_headers.py;fp=AppPkg%2FApplications%2FPython%2FPython-2.7.2%2FLib%2Fdistutils%2Fcommand%2Finstall_headers.py;h=0000000000000000000000000000000000000000;hp=7088e5e16a5edb59a4d1201132a6cdd620975a21;hb=964f432b9b0afe103c41c7613fade3e699118afe;hpb=e2d3a25f1a3135221a9c8061e1b8f90245d727eb diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/install_headers.py b/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/install_headers.py deleted file mode 100644 index 7088e5e16a..0000000000 --- a/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/install_headers.py +++ /dev/null @@ -1,51 +0,0 @@ -"""distutils.command.install_headers - -Implements the Distutils 'install_headers' command, to install C/C++ header -files to the Python include directory.""" - -__revision__ = "$Id$" - -from distutils.core import Command - - -# XXX force is never used -class install_headers(Command): - - description = "install C/C++ header files" - - user_options = [('install-dir=', 'd', - "directory to install header files to"), - ('force', 'f', - "force installation (overwrite existing files)"), - ] - - boolean_options = ['force'] - - def initialize_options(self): - self.install_dir = None - self.force = 0 - self.outfiles = [] - - def finalize_options(self): - self.set_undefined_options('install', - ('install_headers', 'install_dir'), - ('force', 'force')) - - - def run(self): - headers = self.distribution.headers - if not headers: - return - - self.mkpath(self.install_dir) - for header in headers: - (out, _) = self.copy_file(header, self.install_dir) - self.outfiles.append(out) - - def get_inputs(self): - return self.distribution.headers or [] - - def get_outputs(self): - return self.outfiles - -# class install_headers