]>
git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/C/PyEfiCompressor/setup.py
2 # package and install PyEfiCompressor extension
4 # Copyright (c) 2008, Intel Corporation. All rights reserved.<BR>
6 # SPDX-License-Identifier: BSD-2-Clause-Patent
12 from distutils
.core
import setup
, Extension
15 if 'BASE_TOOLS_PATH' not in os
.environ
:
16 raise "Please define BASE_TOOLS_PATH to the root of base tools tree"
18 BaseToolsDir
= os
.environ
['BASE_TOOLS_PATH']
26 os
.path
.join(BaseToolsDir
, 'Source', 'C', 'Common', 'Decompress.c'),
30 os
.path
.join(BaseToolsDir
, 'Source', 'C', 'Include'),
31 os
.path
.join(BaseToolsDir
, 'Source', 'C', 'Include', 'Ia32'),
32 os
.path
.join(BaseToolsDir
, 'Source', 'C', 'Common')