AppPkg/.../Python-2.7.10: ReadMe and .inf files

Files Py2710ReadMe.txt and Python2710.inf, modified from the corresponding
Python-2.7.2 files for use with Python-2.7.10.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <edk2-lists@mc2research.org>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19457 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Daryl McDaniel
2015-12-22 23:54:07 +00:00
committed by darylm503
parent d4f293d1dd
commit 008d69cf6d
2 changed files with 269 additions and 214 deletions

View File

@ -1,23 +1,24 @@
EDK II Python EDK II Python
ReadMe ReadMe
Release 1.02 Version 2.7.10
18 Jan. 2013 Release 1.00
3 Nov. 2015
1. OVERVIEW 1. OVERVIEW
=========== ===========
This document is devoted to general information on building and setup of the This document is devoted to general information on building and setup of the
Python environment for UEFI 2.3, the invocation of the interpreter, and things Python environment for UEFI, the invocation of the interpreter, and things
that make working with Python easier. that make working with Python easier.
It is assumed that you already have either UDK2010 or a current snapshot of It is assumed that you already have UDK2010 or later, or a current snapshot of
the EDK II sources from www.tianocore.org, and that you can successfully build the EDK II sources from www.tianocore.org, and that you can successfully build
packages within that distribution. packages within that distribution.
2. Release Notes 2. Release Notes
================ ================
1) All C extension modules must be statically linked (built in) 1) All C extension modules must be statically linked (built in)
2) The site and os modules must exist as discrete files in ...\lib\python.27 2) The site and os modules must exist as discrete files in ...\lib\python27.10
3) User-specific configurations are not supported. 3) User-specific configurations are not supported.
4) Environment variables are not supported. 4) Environment variables are not supported.
@ -25,22 +26,38 @@ packages within that distribution.
====================================================== ======================================================
3.1 Getting Python 3.1 Getting Python
================== ==================
Currently only version 2.7.2 of the CPython distribution is supported. For development This file describes the UEFI port of version 2.7.10 of the CPython distribution.
ease, a subset of the Python 2.7.2 distribution has been included in the AppPkg source For development ease, a subset of the Python 2.7.10 distribution has been
tree. If a full distribution is desired, the Python-2.7.2 directory can be removed or included as part of the AppPkg/Applications/Python/Python-2.7.10 source tree.
renamed and the full source code downloaded from http://www.python.org/ftp/python/2.7.2/. If this is sufficient, you may skip to section 3.2, Building Python.
If a full distribution is desired, it can be merged into the Python-2.7.10
source tree. Directory AppPkg/Applications/Python/Python-2.7.10 corresponds
to the root directory of the CPython 2.7.10 distribution. The full
CPython 2.7.10 source code may be downloaded from
http://www.python.org/ftp/python/2.7.10/.
A. Within your EDK II development tree, extract the Python distribution into A. Within your EDK II development tree, extract the Python distribution into
AppPkg/Applications/Python. This should create the AppPkg/Applications/Python/Python-2.7.10. This should merge the additional
AppPkg/Applications/Python/Python-2.7.2 directory. files into the source tree. It will also create the following directories:
Demo Doc Grammar Mac Misc
PC PCbuild RISCOS Tools
B. Copy the files from PyMod-2.7.2 into the corresponding directories within The greatest change will be within the Python-2.7.10/Lib directory where
the Python-2.7.2 tree. This will overwrite existing files with files many more packages and modules will be added. These additional components
modified for UEFI usage. may not have been ported to EDK II yet.
3.2 Building Python 3.2 Building Python
=================== ===================
A. Edit Efi/config.c to enable the built-in modules you need. B. From the AppPkg/Applications/Python/Python-2.7.10 directory, execute the
srcprep.bat (srcprep.sh) script to copy the header files from within the
PyMod-2.7.10 sub-tree into their corresponding directories within the
distribution. This step only needs to be performed prior to the first
build of Python, or if one of the header files within the PyMod tree has been
modified.
A. Edit PyMod-2.7.10\Modules\config.c to enable the built-in modules you need.
By default, it is configured for the minimally required set of modules.
Mandatory Built-in Modules: Mandatory Built-in Modules:
edk2 errno imp marshal edk2 errno imp marshal
@ -51,10 +68,10 @@ packages within that distribution.
cStringIO gc itertools math cStringIO gc itertools math
operator time operator time
B. Edit AppPkg/AppPkg.dsc to enable (uncomment) the PythonCore.inf line B. Edit AppPkg/AppPkg.dsc to enable (uncomment) the Python2710.inf line
within the [Components] section. within the [Components] section.
C. Build AppPkg, which includes Python, using the standard "build" command: C. Build AppPkg using the standard "build" command:
For example, to build Python for an X64 CPU architecture: For example, to build Python for an X64 CPU architecture:
build -a X64 -p AppPkg\AppPkg.dsc build -a X64 -p AppPkg\AppPkg.dsc
@ -70,25 +87,28 @@ target system.
|- \etc Configuration files used by libraries. |- \etc Configuration files used by libraries.
|- \tmp Temporary files created by tmpfile(), etc. |- \tmp Temporary files created by tmpfile(), etc.
|- \lib Root of the libraries tree. |- \lib Root of the libraries tree.
|- \python.27 Directory containing the Python library modules. |- \python27.10 Directory containing the Python library modules.
|- \lib-dynload Dynamically loadable Python extensions. |- \lib-dynload Dynamically loadable Python extensions.
|- \site-packages Site-specific packages and modules. |- \site-packages Site-specific packages and modules.
NOTE: The name of the directory containing the Python library modules has
changed in order to distinguish it from the library modules for
version 2.7.2.
5. Installing Python 5. Installing Python
==================== ====================
These directories, on the target system, are populated from the development These directories, on the target system, are populated from the development
system as follows: system as follows:
* \Efi\Tools receives a copy of Build/AppPkg/DEBUG_VS2005/X64/Python.efi. * \Efi\Tools receives a copy of Build/AppPkg/DEBUG_VS2015/X64/Python.efi.
^^^^^ ^^^^^^ ^^^^^^^^^^^^
Modify the host path to match the your build type and compiler. Modify the host path to match your build type and compiler.
* The \Efi\StdLib\etc directory is populated from the StdLib/Efi/StdLib/etc * The \Efi\StdLib\etc directory is populated from the StdLib/Efi/StdLib/etc
source directory. source directory.
* Directory \Efi\StdLib\lib\python.27 is populated with packages and modules * Directory \Efi\StdLib\lib\python27.10 is populated with packages and modules
from the AppPkg/Applications/Python/Python-2.7.2/Lib directory. from the AppPkg/Applications/Python/Python-2.7.10/Lib directory.
The recommended minimum set of modules (.py, .pyc, and/or .pyo): The recommended minimum set of modules (.py, .pyc, and/or .pyo):
os stat ntpath warnings traceback os stat ntpath warnings traceback
site types copy_reg linecache genericpath site types copy_reg linecache genericpath
@ -97,21 +117,53 @@ system as follows:
the \Efi\StdLib\lib\python.27\lib-dynload directory. This functionality is not the \Efi\StdLib\lib\python.27\lib-dynload directory. This functionality is not
yet implemented. yet implemented.
A script, libprep.bat (libprep.sh), is provided which facilitates the population
of the target Lib directory. Execute this script from within the
AppPkg/Applications/Python/Python-2.7.10 directory, providing a single argument
which is the path to the destination directory. The appropriate contents of the
AppPkg/Applications/Python/Python-2.7.10/Lib and
AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib directories will be
recursively copied into the specified destination directory.
6. Example: Enabling socket support 6. Example: Enabling socket support
=================================== ===================================
1. enable {"_socket", init_socket}, in Efi\config.c 1. enable {"_socket", init_socket}, in Efi\config.c
2. enable Python-2.7.2/Modules/socketmodule.c in PythonCore.inf. 2. enable LibraryClasses BsdSocketLib and EfiSocketLib in PythonCore.inf.
3. copy socket.py over to /Efi/StdLib/lib/python.27 on your target system. 3. Build Python2710
4. Make sure dependent modules are present(.py) or built in(.c): build -a X64 -p AppPkg\AppPkg.dsc
functools, types, os, sys, warnings, cStringIO, StringIO, errno 6. copy Build\AppPkg\DEBUG_VS2005\X64\Python2710.efi to \Efi\Tools on your target system.
^^^^^^^^^^^^ Modify as needed
5. build -a X64 -p AppPkg\AppPkg.dsc 7. Running Python
6. copy Build\AppPkg\DEBUG_VS2005\X64\Python.efi to \Efi\Tools on your target system. =================
^^^^ Modify as needed Python must currently be run from an EFI FAT-32 partition, or volume, under
the UEFI Shell. At the Shell prompt enter the desired volume name, followed
by a colon ':', then press Enter. Python can then be executed by typing its
name, followed by any desired options and arguments.
EXAMPLE:
2.0 Shell> fs0:
2.0 FS0:\> python2710
Python 2.7.10 (default, Oct 13 2015, 16:21:53) [C] on uefi
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
2.0 FS0:\>
7. Supported C Modules NOTE:
Python, as distributed, sends its interactive prompts to stderr. If
STDERR isn't enabled in UEFI Setup so that it's output goes to the console,
it may appear that Python hangs on startup. If this happens, one may
be able to rectify the condition by typing "exit()" followed by <enter>
to exit out of Python. Then, type "exit" at the Shell prompt which should
enter Setup.
NOTE:
Some platforms don't include the Setup utility, or don't allow STDERR to
be modified. In these cases, Python may be started with the '-#' option
which will cause stderr to be the same as stdout and should allow
Python to be used interactively on those platforms.
8. Supported C Modules
====================== ======================
Module Name C File(s) Module Name C File(s)
=============== ============================================= =============== =============================================
@ -166,7 +218,7 @@ system as follows:
zlib Modules/zlibmodule.c Modules/zlib/* zlib Modules/zlibmodule.c Modules/zlib/*
8. Tested Python Library Modules 9. Tested Python Library Modules
================================ ================================
This is a partial list of the packages and modules of the Python Standard This is a partial list of the packages and modules of the Python Standard
Library that have been tested or used in some manner. Library that have been tested or used in some manner.

View File

@ -1,5 +1,5 @@
## @file ## @file
# PythonCore.inf # Python2710.inf
# #
# Copyright (c) 2015, Daryl McDaniel. All rights reserved.<BR> # Copyright (c) 2015, Daryl McDaniel. All rights reserved.<BR>
# Copyright (c) 2011-2012, Intel Corporation. All rights reserved.<BR> # Copyright (c) 2011-2012, Intel Corporation. All rights reserved.<BR>
@ -15,16 +15,16 @@
[Defines] [Defines]
INF_VERSION = 0x00010016 INF_VERSION = 0x00010016
BASE_NAME = Python BASE_NAME = Python2710
FILE_GUID = ca5627c4-51ba-4dcb-ac62-c076ebd37ddb FILE_GUID = F78285FD-121E-49f4-9716-44E307656586
MODULE_TYPE = UEFI_APPLICATION MODULE_TYPE = UEFI_APPLICATION
VERSION_STRING = 0.8 VERSION_STRING = 0.1
ENTRY_POINT = ShellCEntryLib ENTRY_POINT = ShellCEntryLib
DEFINE PYTHON_VERSION = 2.7.2 DEFINE PYTHON_VERSION = 2.7.10
# #
# VALID_ARCHITECTURES = IA32 X64 IPF # VALID_ARCHITECTURES = IA32 X64
# #
[Packages] [Packages]
@ -44,8 +44,8 @@
LibNetUtil LibNetUtil
DevMedia DevMedia
# #
# Comment out the following two library classes if socket support is # Comment out the following two library classes if socket support is
# NOT being built in to Python. # NOT being built in to Python.
#BsdSocketLib #BsdSocketLib
#EfiSocketLib #EfiSocketLib
@ -54,202 +54,205 @@
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
[Sources] [Sources]
#EFI -- EFI specific code
Efi/config.c
Efi/edk2module.c
Efi/getpath.c
#Parser #Parser
Python-$(PYTHON_VERSION)/Parser/acceler.c Parser/acceler.c
Python-$(PYTHON_VERSION)/Parser/bitset.c Parser/bitset.c
Python-$(PYTHON_VERSION)/Parser/firstsets.c Parser/firstsets.c
Python-$(PYTHON_VERSION)/Parser/grammar.c Parser/grammar.c
Python-$(PYTHON_VERSION)/Parser/grammar1.c Parser/grammar1.c
Python-$(PYTHON_VERSION)/Parser/listnode.c Parser/listnode.c
Python-$(PYTHON_VERSION)/Parser/metagrammar.c Parser/metagrammar.c
Python-$(PYTHON_VERSION)/Parser/myreadline.c Parser/myreadline.c
Python-$(PYTHON_VERSION)/Parser/node.c Parser/node.c
Python-$(PYTHON_VERSION)/Parser/parser.c Parser/parser.c
Python-$(PYTHON_VERSION)/Parser/parsetok.c Parser/parsetok.c
Python-$(PYTHON_VERSION)/Parser/tokenizer.c Parser/tokenizer.c
#Python #Python
PyMod-$(PYTHON_VERSION)/Python/getcopyright.c PyMod-$(PYTHON_VERSION)/Python/getcopyright.c
PyMod-$(PYTHON_VERSION)/Python/marshal.c PyMod-$(PYTHON_VERSION)/Python/marshal.c
PyMod-$(PYTHON_VERSION)/Python/import.c PyMod-$(PYTHON_VERSION)/Python/random.c
Python-$(PYTHON_VERSION)/Python/_warnings.c Python/_warnings.c
Python-$(PYTHON_VERSION)/Python/Python-ast.c Python/asdl.c
Python-$(PYTHON_VERSION)/Python/asdl.c Python/ast.c
Python-$(PYTHON_VERSION)/Python/ast.c Python/bltinmodule.c
Python-$(PYTHON_VERSION)/Python/bltinmodule.c Python/ceval.c
Python-$(PYTHON_VERSION)/Python/ceval.c Python/codecs.c
Python-$(PYTHON_VERSION)/Python/codecs.c Python/compile.c
Python-$(PYTHON_VERSION)/Python/compile.c Python/dtoa.c
Python-$(PYTHON_VERSION)/Python/dtoa.c Python/dynload_stub.c
Python-$(PYTHON_VERSION)/Python/dynload_stub.c Python/errors.c
Python-$(PYTHON_VERSION)/Python/errors.c Python/formatter_string.c
Python-$(PYTHON_VERSION)/Python/formatter_string.c Python/formatter_unicode.c
Python-$(PYTHON_VERSION)/Python/formatter_unicode.c Python/frozen.c
Python-$(PYTHON_VERSION)/Python/frozen.c Python/future.c
Python-$(PYTHON_VERSION)/Python/future.c Python/getargs.c
Python-$(PYTHON_VERSION)/Python/getargs.c Python/getcompiler.c
Python-$(PYTHON_VERSION)/Python/getcompiler.c Python/getopt.c
Python-$(PYTHON_VERSION)/Python/getopt.c Python/getplatform.c
Python-$(PYTHON_VERSION)/Python/getplatform.c Python/getversion.c
Python-$(PYTHON_VERSION)/Python/getversion.c Python/graminit.c
Python-$(PYTHON_VERSION)/Python/graminit.c Python/import.c
Python-$(PYTHON_VERSION)/Python/importdl.c Python/importdl.c
Python-$(PYTHON_VERSION)/Python/modsupport.c Python/modsupport.c
Python-$(PYTHON_VERSION)/Python/mysnprintf.c Python/mysnprintf.c
Python-$(PYTHON_VERSION)/Python/mystrtoul.c Python/mystrtoul.c
Python-$(PYTHON_VERSION)/Python/peephole.c Python/peephole.c
Python-$(PYTHON_VERSION)/Python/pyarena.c Python/pyarena.c
Python-$(PYTHON_VERSION)/Python/pyctype.c Python/pyctype.c
Python-$(PYTHON_VERSION)/Python/pyfpe.c Python/pyfpe.c
Python-$(PYTHON_VERSION)/Python/pymath.c Python/pymath.c
Python-$(PYTHON_VERSION)/Python/pystate.c Python/pystate.c
Python-$(PYTHON_VERSION)/Python/pystrcmp.c Python/pystrcmp.c
Python-$(PYTHON_VERSION)/Python/pystrtod.c Python/pystrtod.c
Python-$(PYTHON_VERSION)/Python/pythonrun.c Python/Python-ast.c
Python-$(PYTHON_VERSION)/Python/structmember.c Python/pythonrun.c
Python-$(PYTHON_VERSION)/Python/symtable.c Python/structmember.c
Python-$(PYTHON_VERSION)/Python/sysmodule.c Python/symtable.c
Python-$(PYTHON_VERSION)/Python/traceback.c Python/sysmodule.c
Python/traceback.c
#Objects #Objects
PyMod-$(PYTHON_VERSION)/Objects/longobject.c PyMod-$(PYTHON_VERSION)/Objects/longobject.c
Python-$(PYTHON_VERSION)/Objects/abstract.c Objects/abstract.c
Python-$(PYTHON_VERSION)/Objects/boolobject.c Objects/boolobject.c
Python-$(PYTHON_VERSION)/Objects/bufferobject.c Objects/bufferobject.c
Python-$(PYTHON_VERSION)/Objects/bytearrayobject.c Objects/bytearrayobject.c
Python-$(PYTHON_VERSION)/Objects/bytes_methods.c Objects/bytes_methods.c
Python-$(PYTHON_VERSION)/Objects/capsule.c Objects/capsule.c
Python-$(PYTHON_VERSION)/Objects/cellobject.c Objects/cellobject.c
Python-$(PYTHON_VERSION)/Objects/classobject.c Objects/classobject.c
Python-$(PYTHON_VERSION)/Objects/cobject.c Objects/cobject.c
Python-$(PYTHON_VERSION)/Objects/codeobject.c Objects/codeobject.c
Python-$(PYTHON_VERSION)/Objects/complexobject.c Objects/complexobject.c
Python-$(PYTHON_VERSION)/Objects/descrobject.c Objects/descrobject.c
Python-$(PYTHON_VERSION)/Objects/dictobject.c Objects/dictobject.c
Python-$(PYTHON_VERSION)/Objects/enumobject.c Objects/enumobject.c
Python-$(PYTHON_VERSION)/Objects/exceptions.c Objects/exceptions.c
Python-$(PYTHON_VERSION)/Objects/fileobject.c Objects/fileobject.c
Python-$(PYTHON_VERSION)/Objects/floatobject.c Objects/floatobject.c
Python-$(PYTHON_VERSION)/Objects/frameobject.c Objects/frameobject.c
Python-$(PYTHON_VERSION)/Objects/funcobject.c Objects/funcobject.c
Python-$(PYTHON_VERSION)/Objects/genobject.c Objects/genobject.c
Python-$(PYTHON_VERSION)/Objects/intobject.c Objects/intobject.c
Python-$(PYTHON_VERSION)/Objects/iterobject.c Objects/iterobject.c
Python-$(PYTHON_VERSION)/Objects/listobject.c Objects/listobject.c
Python-$(PYTHON_VERSION)/Objects/memoryobject.c Objects/memoryobject.c
Python-$(PYTHON_VERSION)/Objects/methodobject.c Objects/methodobject.c
Python-$(PYTHON_VERSION)/Objects/moduleobject.c Objects/moduleobject.c
Python-$(PYTHON_VERSION)/Objects/object.c Objects/object.c
Python-$(PYTHON_VERSION)/Objects/obmalloc.c Objects/obmalloc.c
Python-$(PYTHON_VERSION)/Objects/rangeobject.c Objects/rangeobject.c
Python-$(PYTHON_VERSION)/Objects/setobject.c Objects/setobject.c
Python-$(PYTHON_VERSION)/Objects/sliceobject.c Objects/sliceobject.c
Python-$(PYTHON_VERSION)/Objects/stringobject.c Objects/stringobject.c
Python-$(PYTHON_VERSION)/Objects/structseq.c Objects/structseq.c
Python-$(PYTHON_VERSION)/Objects/tupleobject.c Objects/tupleobject.c
Python-$(PYTHON_VERSION)/Objects/typeobject.c Objects/typeobject.c
Python-$(PYTHON_VERSION)/Objects/unicodectype.c Objects/unicodectype.c
Python-$(PYTHON_VERSION)/Objects/unicodeobject.c Objects/unicodeobject.c
Python-$(PYTHON_VERSION)/Objects/weakrefobject.c Objects/weakrefobject.c
#Modules -- See Efi/config.c #Modules -- See config.c
# Mandatory Modules -- These must always be built in. # Mandatory Modules -- These must always be built in.
PyMod-$(PYTHON_VERSION)/Modules/config.c
PyMod-$(PYTHON_VERSION)/Modules/edk2module.c
PyMod-$(PYTHON_VERSION)/Modules/errnomodule.c PyMod-$(PYTHON_VERSION)/Modules/errnomodule.c
Python-$(PYTHON_VERSION)/Modules/_functoolsmodule.c PyMod-$(PYTHON_VERSION)/Modules/getpath.c
Python-$(PYTHON_VERSION)/Modules/gcmodule.c
Python-$(PYTHON_VERSION)/Modules/getbuildinfo.c
PyMod-$(PYTHON_VERSION)/Modules/main.c PyMod-$(PYTHON_VERSION)/Modules/main.c
Python-$(PYTHON_VERSION)/Modules/python.c
Modules/_functoolsmodule.c
Modules/gcmodule.c
Modules/getbuildinfo.c
Modules/python.c
# Optional Modules -- See Python/Efi/config.c # Optional Modules -- See Python/Efi/config.c
PyMod-$(PYTHON_VERSION)/Modules/_sre.c # PyMod-$(PYTHON_VERSION)/Modules/_sre.c
PyMod-$(PYTHON_VERSION)/Modules/selectmodule.c # PyMod-$(PYTHON_VERSION)/Modules/selectmodule.c
# #
Python-$(PYTHON_VERSION)/Modules/_bisectmodule.c # Modules/_bisectmodule.c #
Python-$(PYTHON_VERSION)/Modules/_codecsmodule.c # Modules/_codecsmodule.c #
Python-$(PYTHON_VERSION)/Modules/_collectionsmodule.c # Modules/_collectionsmodule.c #
Python-$(PYTHON_VERSION)/Modules/_csv.c # Modules/_csv.c #
Python-$(PYTHON_VERSION)/Modules/_heapqmodule.c # Modules/_heapqmodule.c #
Python-$(PYTHON_VERSION)/Modules/_json.c # Modules/_json.c #
Python-$(PYTHON_VERSION)/Modules/_localemodule.c # Modules/_localemodule.c #
Python-$(PYTHON_VERSION)/Modules/_math.c # Modules/_math.c #
Python-$(PYTHON_VERSION)/Modules/_randommodule.c # Modules/_randommodule.c #
Python-$(PYTHON_VERSION)/Modules/_struct.c # Modules/_struct.c #
Python-$(PYTHON_VERSION)/Modules/_weakref.c # Modules/_weakref.c #
Python-$(PYTHON_VERSION)/Modules/arraymodule.c # Modules/arraymodule.c #
Python-$(PYTHON_VERSION)/Modules/binascii.c # Modules/binascii.c #
Python-$(PYTHON_VERSION)/Modules/cmathmodule.c # Modules/cmathmodule.c #
Python-$(PYTHON_VERSION)/Modules/cPickle.c # Modules/cPickle.c #
Python-$(PYTHON_VERSION)/Modules/cStringIO.c # Modules/cStringIO.c #
Python-$(PYTHON_VERSION)/Modules/datetimemodule.c # Modules/datetimemodule.c #
Python-$(PYTHON_VERSION)/Modules/future_builtins.c # Modules/future_builtins.c #
Python-$(PYTHON_VERSION)/Modules/itertoolsmodule.c # Modules/itertoolsmodule.c #
Python-$(PYTHON_VERSION)/Modules/mathmodule.c # Modules/mathmodule.c #
Python-$(PYTHON_VERSION)/Modules/md5.c # Modules/md5.c #
Python-$(PYTHON_VERSION)/Modules/md5module.c # Modules/md5module.c #
Python-$(PYTHON_VERSION)/Modules/operator.c # Modules/operator.c #
Python-$(PYTHON_VERSION)/Modules/parsermodule.c # Modules/parsermodule.c #
Python-$(PYTHON_VERSION)/Modules/sha256module.c # Modules/sha256module.c #
Python-$(PYTHON_VERSION)/Modules/sha512module.c # Modules/sha512module.c #
Python-$(PYTHON_VERSION)/Modules/shamodule.c # Modules/shamodule.c #
Python-$(PYTHON_VERSION)/Modules/signalmodule.c # Modules/signalmodule.c #
Python-$(PYTHON_VERSION)/Modules/socketmodule.c # Modules/socketmodule.c #
Python-$(PYTHON_VERSION)/Modules/stropmodule.c # Modules/stropmodule.c #
Python-$(PYTHON_VERSION)/Modules/symtablemodule.c # Modules/symtablemodule.c #
Python-$(PYTHON_VERSION)/Modules/timemodule.c # Modules/timemodule.c #
Python-$(PYTHON_VERSION)/Modules/unicodedata.c # Modules/unicodedata.c #
Python-$(PYTHON_VERSION)/Modules/xxsubtype.c # Modules/xxsubtype.c #
Python-$(PYTHON_VERSION)/Modules/zipimport.c # Modules/zipimport.c #
Python-$(PYTHON_VERSION)/Modules/zlibmodule.c # Modules/zlibmodule.c #
#Modules/_io #Modules/_io
Python-$(PYTHON_VERSION)/Modules/_io/_iomodule.c # Modules/_io/_iomodule.c #
Python-$(PYTHON_VERSION)/Modules/_io/bufferedio.c # Modules/_io/bufferedio.c #
Python-$(PYTHON_VERSION)/Modules/_io/bytesio.c # Modules/_io/bytesio.c #
Python-$(PYTHON_VERSION)/Modules/_io/fileio.c # Modules/_io/fileio.c #
Python-$(PYTHON_VERSION)/Modules/_io/iobase.c # Modules/_io/iobase.c #
Python-$(PYTHON_VERSION)/Modules/_io/stringio.c # Modules/_io/stringio.c #
Python-$(PYTHON_VERSION)/Modules/_io/textio.c # Modules/_io/textio.c #
#Modules/cjkcodecs #Modules/cjkcodecs
Python-$(PYTHON_VERSION)/Modules/cjkcodecs/multibytecodec.c # Modules/cjkcodecs/multibytecodec.c #
Python-$(PYTHON_VERSION)/Modules/cjkcodecs/_codecs_cn.c # Modules/cjkcodecs/_codecs_cn.c #
Python-$(PYTHON_VERSION)/Modules/cjkcodecs/_codecs_hk.c # Modules/cjkcodecs/_codecs_hk.c #
Python-$(PYTHON_VERSION)/Modules/cjkcodecs/_codecs_iso2022.c # Modules/cjkcodecs/_codecs_iso2022.c #
Python-$(PYTHON_VERSION)/Modules/cjkcodecs/_codecs_jp.c # Modules/cjkcodecs/_codecs_jp.c #
Python-$(PYTHON_VERSION)/Modules/cjkcodecs/_codecs_kr.c # Modules/cjkcodecs/_codecs_kr.c #
Python-$(PYTHON_VERSION)/Modules/cjkcodecs/_codecs_tw.c # Modules/cjkcodecs/_codecs_tw.c #
#Modules/expat #Modules/expat
Python-$(PYTHON_VERSION)/Modules/pyexpat.c # Modules/pyexpat.c #
PyMod-$(PYTHON_VERSION)/Modules/expat/xmlparse.c # Modules/expat/xmlrole.c #
Python-$(PYTHON_VERSION)/Modules/expat/xmlrole.c # Modules/expat/xmltok.c #
Python-$(PYTHON_VERSION)/Modules/expat/xmltok.c # Modules/expat/xmlparse.c #
#Modules/zlib #Modules/zlib
Python-$(PYTHON_VERSION)/Modules/zlib/adler32.c # Modules/zlib/adler32.c #
Python-$(PYTHON_VERSION)/Modules/zlib/compress.c # Modules/zlib/compress.c #
Python-$(PYTHON_VERSION)/Modules/zlib/crc32.c # Modules/zlib/crc32.c #
Python-$(PYTHON_VERSION)/Modules/zlib/deflate.c # Modules/zlib/deflate.c #
Python-$(PYTHON_VERSION)/Modules/zlib/gzio.c # Modules/zlib/gzclose.c #
Python-$(PYTHON_VERSION)/Modules/zlib/infback.c # Modules/zlib/gzlib.c #
Python-$(PYTHON_VERSION)/Modules/zlib/inffast.c # Modules/zlib/gzread.c #
Python-$(PYTHON_VERSION)/Modules/zlib/inflate.c # Modules/zlib/gzwrite.c #
Python-$(PYTHON_VERSION)/Modules/zlib/inftrees.c #
Python-$(PYTHON_VERSION)/Modules/zlib/trees.c # Modules/zlib/infback.c #
Python-$(PYTHON_VERSION)/Modules/zlib/uncompr.c # Modules/zlib/inffast.c #
Python-$(PYTHON_VERSION)/Modules/zlib/zutil.c # Modules/zlib/inflate.c #
Modules/zlib/inftrees.c #
Modules/zlib/trees.c #
Modules/zlib/uncompr.c #
Modules/zlib/zutil.c #
[BuildOptions] [BuildOptions]
MSFT:*_*_IA32_CC_FLAGS = /Oi- /wd4018 /wd4054 /wd4055 /wd4101 /wd4131 /wd4152 /wd4204 /wd4210 /wd4244 /wd4267 /wd4305 /wd4310 /wd4389 /wd4701 /wd4702 /wd4706 /I$(WORKSPACE)\AppPkg\Applications\Python\Ia32 /I$(WORKSPACE)\AppPkg\Applications\Python\Efi /I$(WORKSPACE)\AppPkg\Applications\Python\Python-$(PYTHON_VERSION)\Include /DHAVE_MEMMOVE /DUSE_PYEXPAT_CAPI /DXML_STATIC MSFT:*_*_IA32_CC_FLAGS = /Oi- /wd4018 /wd4054 /wd4055 /wd4101 /wd4131 /wd4152 /wd4204 /wd4210 /wd4244 /wd4267 /wd4305 /wd4310 /wd4389 /wd4701 /wd4702 /wd4706 /I$(WORKSPACE)\AppPkg\Applications\Python\Python-2.7.10\Ia32 /I$(WORKSPACE)\AppPkg\Applications\Python\Python-2.7.10\Include /DHAVE_MEMMOVE /DUSE_PYEXPAT_CAPI /DXML_STATIC
MSFT:*_*_X64_CC_FLAGS = /Oi- /wd4018 /wd4054 /wd4055 /wd4101 /wd4131 /wd4152 /wd4204 /wd4210 /wd4244 /wd4267 /wd4305 /wd4310 /wd4389 /wd4701 /wd4702 /wd4706 /I$(WORKSPACE)\AppPkg\Applications\Python\X64 /I$(WORKSPACE)\AppPkg\Applications\Python\Efi /I$(WORKSPACE)\AppPkg\Applications\Python\Python-$(PYTHON_VERSION)\Include /DHAVE_MEMMOVE /DUSE_PYEXPAT_CAPI /DXML_STATIC MSFT:*_*_X64_CC_FLAGS = /Oi- /wd4018 /wd4054 /wd4055 /wd4101 /wd4131 /wd4152 /wd4204 /wd4210 /wd4244 /wd4267 /wd4305 /wd4310 /wd4389 /wd4701 /wd4702 /wd4706 /I$(WORKSPACE)\AppPkg\Applications\Python\Python-2.7.10\X64 /I$(WORKSPACE)\AppPkg\Applications\Python\Python-2.7.10\Include /DHAVE_MEMMOVE /DUSE_PYEXPAT_CAPI /DXML_STATIC
GCC:*_*_IA32_CC_FLAGS = -fno-builtin -Wno-format -I$(WORKSPACE)/AppPkg/Applications/Python/Ia32 -I$(WORKSPACE)/AppPkg/Applications/Python/Python-$(PYTHON_VERSION)/Include -DHAVE_MEMMOVE -DUSE_PYEXPAT_CAPI -DXML_STATIC GCC:*_*_IA32_CC_FLAGS = -fno-builtin -Wno-format -I$(WORKSPACE)/AppPkg/Applications/Python/Python-2.7.10/Ia32 -I$(WORKSPACE)/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Include -I$(WORKSPACE)/AppPkg/Applications/Python/Python-2.7.10/Include -DHAVE_MEMMOVE -DUSE_PYEXPAT_CAPI -DXML_STATIC
GCC:*_*_X64_CC_FLAGS = -Wno-format -I$(WORKSPACE)/AppPkg/Applications/Python/X64 -I$(WORKSPACE)/AppPkg/Applications/Python/Python-$(PYTHON_VERSION)/Include -DHAVE_MEMMOVE -DUSE_PYEXPAT_CAPI -DXML_STATIC GCC:*_*_X64_CC_FLAGS = -Wno-format -I$(WORKSPACE)/AppPkg/Applications/Python/Python-2.7.10/X64 -I$(WORKSPACE)/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Include -I$(WORKSPACE)/AppPkg/Applications/Python/Python-2.7.10/Include -DHAVE_MEMMOVE -DUSE_PYEXPAT_CAPI -DXML_STATIC
GCC:*_*_IPF_SYMRENAME_FLAGS = --redefine-syms=$(WORKSPACE)/StdLib/GccSymRename.txt