AppPkg/Applications/Python: Get Python startup process fully working for EDK II.

AppPkg.dsc: Clean up and add Socket support.
Applications/Python/PythonCore.inf: Re-order source files.
Applications/Python/Efi/config.c: Add all mandatory modules.  Disable remaining.
Applications/Python/Efi/edk2module.c: EDK II port of posixmodule.c.
Applications/Python/Efi/getpath.c: Determine initial module search path.
Applications/Python/Ia32/pyconfig.h: Configuration macros for Ia32.
Applications/Python/Ipf/pyconfig.h: Configuration macros for Ipf.
Applications/Python/PyMod-2.7.2/Include/osdefs.h: Select appropriate directory and path separators for UEFI.
Applications/Python/PyMod-2.7.2/Lib/ntpath.py: Allow multi-character device names to left of colon.
Applications/Python/PyMod-2.7.2/Lib/os.py: Add edk2 as a supported OS.
Applications/Python/PyMod-2.7.2/Lib/site.py: UEFI-specific path and environment setup.
Applications/Python/PyMod-2.7.2/Modules/errnomodule.c: Sync with errno.h.
Applications/Python/PyMod-2.7.2/Modules/selectmodule.c: Add UEFI support.
Applications/Python/PyMod-2.7.2/Modules/socketmodule.h: Add UEFI support.
Applications/Python/PyMod-2.7.2/Modules/zlib/zutil.h: Add UEFI support.
Applications/Python/PyMod-2.7.2/Python/getcopyright.c: Add Intel copyright.
Applications/Python/X64/pyconfig.h: Configuration macros for X64.

Signed-off-by: darylm503
Reviewed-by: geekboy15a
Reviewed-by: jljusten
Reviewed-by: lpleahy
Reviewed-by: leegrosenbaum


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12957 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
darylm503
2012-01-26 22:04:41 +00:00
parent 87bd924782
commit b410d6e4ce
17 changed files with 12516 additions and 306 deletions

View File

@ -34,19 +34,19 @@
LibString
LibStdio
LibGdtoa
LibWchar
LibMath
LibWchar
LibGen
LibNetUtil
DevShell
BsdSocketLib
EfiSocketLib
DevShell
[Sources]
#EFI -- EFI specific code
Efi/config.c
Efi/getpath.c
Efi/edk2module.c
Efi/getpath.c
#Parser
Python-2.7.2/Parser/acceler.c
@ -63,6 +63,10 @@
Python-2.7.2/Parser/tokenizer.c
#Python
PyMod-2.7.2/Python/getcopyright.c
PyMod-2.7.2/Python/import.c
PyMod-2.7.2/Python/marshal.c
Python-2.7.2/Python/_warnings.c
Python-2.7.2/Python/asdl.c
Python-2.7.2/Python/ast.c
@ -79,14 +83,11 @@
Python-2.7.2/Python/future.c
Python-2.7.2/Python/getargs.c
Python-2.7.2/Python/getcompiler.c
Python-2.7.2/Python/getcopyright.c
Python-2.7.2/Python/getopt.c
Python-2.7.2/Python/getplatform.c
Python-2.7.2/Python/getversion.c
Python-2.7.2/Python/graminit.c
Python-2.7.2/Python/import.c
Python-2.7.2/Python/importdl.c
Python-2.7.2/Python/marshal.c
Python-2.7.2/Python/modsupport.c
Python-2.7.2/Python/mysnprintf.c
Python-2.7.2/Python/mystrtoul.c
@ -111,47 +112,42 @@
Python-2.7.2/Modules/python.c
Python-2.7.2/Modules/getbuildinfo.c
Python-2.7.2/Modules/arraymodule.c
Python-2.7.2/Modules/binascii.c
Python-2.7.2/Modules/errnomodule.c
Python-2.7.2/Modules/gcmodule.c
Python-2.7.2/Modules/signalmodule.c
Python-2.7.2/Modules/operator.c
Python-2.7.2/Modules/_weakref.c
Python-2.7.2/Modules/mathmodule.c
Python-2.7.2/Modules/_math.c
Python-2.7.2/Modules/timemodule.c
Python-2.7.2/Modules/datetimemodule.c
Python-2.7.2/Modules/cStringIO.c
Python-2.7.2/Modules/_codecsmodule.c
Python-2.7.2/Modules/_randommodule.c
Python-2.7.2/Modules/xxsubtype.c
Python-2.7.2/Modules/_heapqmodule.c
Python-2.7.2/Modules/itertoolsmodule.c
Python-2.7.2/Modules/_collectionsmodule.c
Python-2.7.2/Modules/_sre.c
Python-2.7.2/Modules/parsermodule.c
Python-2.7.2/Modules/_struct.c
Python-2.7.2/Modules/cPickle.c
Python-2.7.2/Modules/_functoolsmodule.c
Python-2.7.2/Modules/cmathmodule.c
Python-2.7.2/Modules/_json.c
PyMod-2.7.2/Modules/_sre.c
PyMod-2.7.2/Modules/errnomodule.c
PyMod-2.7.2/Modules/selectmodule.c
Python-2.7.2/Modules/_bisectmodule.c
Python-2.7.2/Modules/_codecsmodule.c
Python-2.7.2/Modules/_collectionsmodule.c
Python-2.7.2/Modules/_functoolsmodule.c
Python-2.7.2/Modules/_heapqmodule.c
Python-2.7.2/Modules/_json.c
Python-2.7.2/Modules/_math.c
Python-2.7.2/Modules/_randommodule.c
Python-2.7.2/Modules/_struct.c
Python-2.7.2/Modules/_weakref.c
Python-2.7.2/Modules/arraymodule.c
Python-2.7.2/Modules/binascii.c
Python-2.7.2/Modules/cmathmodule.c
Python-2.7.2/Modules/cPickle.c
Python-2.7.2/Modules/cStringIO.c
Python-2.7.2/Modules/datetimemodule.c
Python-2.7.2/Modules/future_builtins.c
Python-2.7.2/Modules/gcmodule.c
Python-2.7.2/Modules/itertoolsmodule.c
Python-2.7.2/Modules/mathmodule.c
Python-2.7.2/Modules/md5.c
Python-2.7.2/Modules/md5module.c
Python-2.7.2/Modules/operator.c
Python-2.7.2/Modules/parsermodule.c
Python-2.7.2/Modules/shamodule.c
Python-2.7.2/Modules/sha256module.c
Python-2.7.2/Modules/sha512module.c
Python-2.7.2/Modules/stropmodule.c
# Socket related modules
# Python-$(PYTHON_VERSION)/Modules/getaddrinfo.c # included by socketmodule.c
# Python-$(PYTHON_VERSION)/Modules/getnameinfo.c # included by socketmodule.c
Python-2.7.2/Modules/selectmodule.c
Python-2.7.2/Modules/signalmodule.c
Python-2.7.2/Modules/socketmodule.c
Python-2.7.2/Modules/stropmodule.c
Python-2.7.2/Modules/timemodule.c
Python-2.7.2/Modules/xxsubtype.c
# Python-$(PYTHON_VERSION)/Modules/imageop.c
# Python-$(PYTHON_VERSION)/Modules/_csv.c