public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [edk2-libc Patch 0/1] AppPkg - fix python socket module compilation instructions
@ 2023-09-01 16:18 Jayaprakash, N
  2023-09-01 16:18 ` [edk2-devel] [edk2-libc Patch 1/1] ek2-libc: Fix compilation instructions of socket module as builtin module Jayaprakash, N
       [not found] ` <1780D2AE8858D17B.16908@groups.io>
  0 siblings, 2 replies; 3+ messages in thread
From: Jayaprakash, N @ 2023-09-01 16:18 UTC (permalink / raw)
  To: devel; +Cc: Jayaprakash N

This patch fixes the insufficient documentation issue in Py368ReadMe.txt
for compiling the socket module as builtin module of Python.
The issue is reported in BZ 4548. 

Jayaprakash N (1):
  ek2-libc: Fix compilation instructions of socket module as builtin
    module

 .../Python/Python-3.6.8/Py368ReadMe.txt             | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

-- 
2.40.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#108229): https://edk2.groups.io/g/devel/message/108229
Mute This Topic: https://groups.io/mt/101098539/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [edk2-devel] [edk2-libc Patch 1/1] ek2-libc: Fix compilation instructions of socket module as builtin module
  2023-09-01 16:18 [edk2-devel] [edk2-libc Patch 0/1] AppPkg - fix python socket module compilation instructions Jayaprakash, N
@ 2023-09-01 16:18 ` Jayaprakash, N
       [not found] ` <1780D2AE8858D17B.16908@groups.io>
  1 sibling, 0 replies; 3+ messages in thread
From: Jayaprakash, N @ 2023-09-01 16:18 UTC (permalink / raw)
  To: devel; +Cc: Jayaprakash N, Rebecca Cran, Michael D Kinney

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4548

This change fixes the insufficient documentation instructions
to compile socket module as built in module into Python interpreter

Cc: Rebecca Cran <rebecca@bsdio.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Jayaprakash N <n.jayaprakash@intel.com>
Signed-off-by: Jayaprakash N <n.jayaprakash@intel.com>
---
 .../Python/Python-3.6.8/Py368ReadMe.txt             | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/AppPkg/Applications/Python/Python-3.6.8/Py368ReadMe.txt b/AppPkg/Applications/Python/Python-3.6.8/Py368ReadMe.txt
index eae56b4..2b27c92 100644
--- a/AppPkg/Applications/Python/Python-3.6.8/Py368ReadMe.txt
+++ b/AppPkg/Applications/Python/Python-3.6.8/Py368ReadMe.txt
@@ -129,13 +129,14 @@ system as follows:
 
 6. Example: Enabling socket support
 ===================================
-  1.  enable {"_socket", init_socket}, in PyMod-3.6.8\Modules\config.c
-  2.  enable LibraryClasses BsdSocketLib and EfiSocketLib in Python368.inf
-  3.  Build Python interpreter application using below command
+  1. Uncomment the statement // {"_socket", init_socket}, in PyMod-3.6.8\Modules\config.c
+  2. Uncomment BsdSocketLib and EfiSocketLib LibraryClasses in Python368.inf
+  3. Uncomment the statement #Modules/socketmodule.c in Python368.inf
+  4. Build Python interpreter application using below command
           build -a X64 -p AppPkg\AppPkg.dsc
-  6.  copy Build\AppPkg\RELEASE_VS2017\X64\Python.efi to \Efi\Tools on your
-      target system. Replace "RELEASE_VS2017", in the source path, with
-      values appropriate for your tool chain.
+  5. Copy Build\AppPkg\RELEASE_VS2017\X64\Python.efi to \Efi\Tools on your
+     target system. Replace "RELEASE_VS2017", in the source path, with
+     values appropriate for your tool chain.
 
 7. Running Python
 =================
-- 
2.40.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#108230): https://edk2.groups.io/g/devel/message/108230
Mute This Topic: https://groups.io/mt/101098540/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [edk2-devel] [edk2-libc Patch 1/1] ek2-libc: Fix compilation instructions of socket module as builtin module
       [not found] ` <1780D2AE8858D17B.16908@groups.io>
@ 2023-09-01 16:29   ` Jayaprakash, N
  0 siblings, 0 replies; 3+ messages in thread
From: Jayaprakash, N @ 2023-09-01 16:29 UTC (permalink / raw)
  To: devel@edk2.groups.io, Jayaprakash, N; +Cc: Rebecca Cran, Kinney, Michael D

It's a documentation change.

Reviewed-by: Jayaprakash N <n.jayaprakash@intel.com>

-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Jayaprakash, N
Sent: Friday, September 1, 2023 9:48 PM
To: devel@edk2.groups.io
Cc: Jayaprakash, N <n.jayaprakash@intel.com>; Rebecca Cran <rebecca@bsdio.com>; Kinney, Michael D <michael.d.kinney@intel.com>
Subject: [edk2-devel] [edk2-libc Patch 1/1] ek2-libc: Fix compilation instructions of socket module as builtin module

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4548

This change fixes the insufficient documentation instructions to compile socket module as built in module into Python interpreter

Cc: Rebecca Cran <rebecca@bsdio.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Jayaprakash N <n.jayaprakash@intel.com>
Signed-off-by: Jayaprakash N <n.jayaprakash@intel.com>
---
 .../Python/Python-3.6.8/Py368ReadMe.txt             | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/AppPkg/Applications/Python/Python-3.6.8/Py368ReadMe.txt b/AppPkg/Applications/Python/Python-3.6.8/Py368ReadMe.txt
index eae56b4..2b27c92 100644
--- a/AppPkg/Applications/Python/Python-3.6.8/Py368ReadMe.txt
+++ b/AppPkg/Applications/Python/Python-3.6.8/Py368ReadMe.txt
@@ -129,13 +129,14 @@ system as follows:
 
 6. Example: Enabling socket support
 ===================================
-  1.  enable {"_socket", init_socket}, in PyMod-3.6.8\Modules\config.c
-  2.  enable LibraryClasses BsdSocketLib and EfiSocketLib in Python368.inf
-  3.  Build Python interpreter application using below command
+  1. Uncomment the statement // {"_socket", init_socket}, in 
+ PyMod-3.6.8\Modules\config.c  2. Uncomment BsdSocketLib and 
+ EfiSocketLib LibraryClasses in Python368.inf  3. Uncomment the 
+ statement #Modules/socketmodule.c in Python368.inf  4. Build Python 
+ interpreter application using below command
           build -a X64 -p AppPkg\AppPkg.dsc
-  6.  copy Build\AppPkg\RELEASE_VS2017\X64\Python.efi to \Efi\Tools on your
-      target system. Replace "RELEASE_VS2017", in the source path, with
-      values appropriate for your tool chain.
+  5. Copy Build\AppPkg\RELEASE_VS2017\X64\Python.efi to \Efi\Tools on your
+     target system. Replace "RELEASE_VS2017", in the source path, with
+     values appropriate for your tool chain.
 
 7. Running Python
 =================
--
2.40.0.windows.1








-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#108231): https://edk2.groups.io/g/devel/message/108231
Mute This Topic: https://groups.io/mt/101098720/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-01 16:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-01 16:18 [edk2-devel] [edk2-libc Patch 0/1] AppPkg - fix python socket module compilation instructions Jayaprakash, N
2023-09-01 16:18 ` [edk2-devel] [edk2-libc Patch 1/1] ek2-libc: Fix compilation instructions of socket module as builtin module Jayaprakash, N
     [not found] ` <1780D2AE8858D17B.16908@groups.io>
2023-09-01 16:29   ` Jayaprakash, N

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox