[edk2-libc Patch V4 6/6] AppPkg/Applications/Python: to fix readme files in edk2-libc


Jayaprakash, N
 

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

This commit is to update remaining references to py 2.7.10 in
StdLib/Readme.txt and StdLibPrivateInternalFiles/ReadMe.txt
documents to py3.6.8.

Cc: Rebecca Cran <rebecca@...>
Cc: Michael D Kinney <michael.d.kinney@...>
Signed-off-by: Jayaprakash N <n.jayaprakash@...>
---
StdLib/ReadMe.txt | 15 +++++++--------
StdLibPrivateInternalFiles/ReadMe.txt | 14 ++++++--------
2 files changed, 13 insertions(+), 16 deletions(-)

diff --git a/StdLib/ReadMe.txt b/StdLib/ReadMe.txt
index 5199692..8e0305e 100644
--- a/StdLib/ReadMe.txt
+++ b/StdLib/ReadMe.txt
@@ -158,14 +158,13 @@ There are some boiler-plate declarations and definitions that need to be
included in your application's INF and DSC build files. These are described
in the CONFIGURATION section, below.

-A subset of the Python 2.7.2 distribution is included as part of AppPkg. If desired,
-the full Python 2.7.2 distribution may be downloaded from python.org and used instead.
-Delete or rename the existing Python-2.7.2 directory then extract the downloaded
-Python-2.7.2.tgz file into the AppPkg\Applications\Python directory. This will produce a
-Python-2.7.2 directory containing the full Python distribution. Python files that had to be
-modified for EDK II are in the AppPkg\Applications\Python\PyMod-2.7.2 directory. These
-files need to be copied into the corresponding directories within the extracted Python-2.7.2
-directory before Python can be built.
+A full distribution of the Python 3.6.8 has been included as part of AppPkg. But only
+a subset of the features have been enabled for UEFI use case. Python files that had to be
+modified for EDK II are in the AppPkg\Applications\Python\Python-3.6.8\PyMod-3.6.8 directory.
+These files need to be copied into the corresponding directories within the Python-3.6.8
+directory before Python can be built. This can be achieved by running the srcprep.py available
+under AppPkg\Applications\Python\Python-3.6.8.
+


BUILDING
diff --git a/StdLibPrivateInternalFiles/ReadMe.txt b/StdLibPrivateInternalFiles/ReadMe.txt
index 424ee96..e21d2c8 100644
--- a/StdLibPrivateInternalFiles/ReadMe.txt
+++ b/StdLibPrivateInternalFiles/ReadMe.txt
@@ -146,14 +146,12 @@ There are some boiler-plate declarations and definitions that need to be
included in your application's INF and DSC build files. These are described
in the CONFIGURATION section, below.

-A subset of the Python 2.7.2 distribution is included as part of AppPkg. If desired,
-the full Python 2.7.2 distribution may be downloaded from python.org and used instead.
-Delete or rename the existing Python-2.7.2 directory then extract the downloaded
-Python-2.7.2.tgz file into the AppPkg\Applications\Python directory. This will produce a
-Python-2.7.2 directory containing the full Python distribution. Python files that had to be
-modified for EDK II are in the AppPkg\Applications\Python\PyMod-2.7.2 directory. These
-files need to be copied into the corresponding directories within the extracted Python-2.7.2
-directory before Python can be built.
+A full distribution of the Python 3.6.8 has been included as part of AppPkg. But only
+a subset of the features have been enabled for UEFI use case. Python files that had to be
+modified for EDK II are in the AppPkg\Applications\Python\Python-3.6.8\PyMod-3.6.8 directory.
+These files need to be copied into the corresponding directories within the Python-3.6.8
+directory before Python can be built. This can be achieved by running the srcprep.py available
+under AppPkg\Applications\Python\Python-3.6.8.


BUILDING
--
2.32.0.windows.2


Michael D Kinney
 

Series Reviewed-by: Michael D Kinney <michael.d.kinney@...>

-----Original Message-----
From: Jayaprakash, N <n.jayaprakash@...>
Sent: Monday, November 1, 2021 11:35 AM
To: devel@edk2.groups.io
Cc: Rebecca Cran <rebecca@...>; Kinney, Michael D <michael.d.kinney@...>; Jayaprakash, N
<n.jayaprakash@...>
Subject: [edk2-libc Patch V4 6/6] AppPkg/Applications/Python: to fix readme files in edk2-libc

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

This commit is to update remaining references to py 2.7.10 in
StdLib/Readme.txt and StdLibPrivateInternalFiles/ReadMe.txt
documents to py3.6.8.

Cc: Rebecca Cran <rebecca@...>
Cc: Michael D Kinney <michael.d.kinney@...>
Signed-off-by: Jayaprakash N <n.jayaprakash@...>
---
StdLib/ReadMe.txt | 15 +++++++--------
StdLibPrivateInternalFiles/ReadMe.txt | 14 ++++++--------
2 files changed, 13 insertions(+), 16 deletions(-)

diff --git a/StdLib/ReadMe.txt b/StdLib/ReadMe.txt
index 5199692..8e0305e 100644
--- a/StdLib/ReadMe.txt
+++ b/StdLib/ReadMe.txt
@@ -158,14 +158,13 @@ There are some boiler-plate declarations and definitions that need to be
included in your application's INF and DSC build files. These are described
in the CONFIGURATION section, below.

-A subset of the Python 2.7.2 distribution is included as part of AppPkg. If desired,
-the full Python 2.7.2 distribution may be downloaded from python.org and used instead.
-Delete or rename the existing Python-2.7.2 directory then extract the downloaded
-Python-2.7.2.tgz file into the AppPkg\Applications\Python directory. This will produce a
-Python-2.7.2 directory containing the full Python distribution. Python files that had to be
-modified for EDK II are in the AppPkg\Applications\Python\PyMod-2.7.2 directory. These
-files need to be copied into the corresponding directories within the extracted Python-2.7.2
-directory before Python can be built.
+A full distribution of the Python 3.6.8 has been included as part of AppPkg. But only
+a subset of the features have been enabled for UEFI use case. Python files that had to be
+modified for EDK II are in the AppPkg\Applications\Python\Python-3.6.8\PyMod-3.6.8 directory.
+These files need to be copied into the corresponding directories within the Python-3.6.8
+directory before Python can be built. This can be achieved by running the srcprep.py available
+under AppPkg\Applications\Python\Python-3.6.8.
+


BUILDING
diff --git a/StdLibPrivateInternalFiles/ReadMe.txt b/StdLibPrivateInternalFiles/ReadMe.txt
index 424ee96..e21d2c8 100644
--- a/StdLibPrivateInternalFiles/ReadMe.txt
+++ b/StdLibPrivateInternalFiles/ReadMe.txt
@@ -146,14 +146,12 @@ There are some boiler-plate declarations and definitions that need to be
included in your application's INF and DSC build files. These are described
in the CONFIGURATION section, below.

-A subset of the Python 2.7.2 distribution is included as part of AppPkg. If desired,
-the full Python 2.7.2 distribution may be downloaded from python.org and used instead.
-Delete or rename the existing Python-2.7.2 directory then extract the downloaded
-Python-2.7.2.tgz file into the AppPkg\Applications\Python directory. This will produce a
-Python-2.7.2 directory containing the full Python distribution. Python files that had to be
-modified for EDK II are in the AppPkg\Applications\Python\PyMod-2.7.2 directory. These
-files need to be copied into the corresponding directories within the extracted Python-2.7.2
-directory before Python can be built.
+A full distribution of the Python 3.6.8 has been included as part of AppPkg. But only
+a subset of the features have been enabled for UEFI use case. Python files that had to be
+modified for EDK II are in the AppPkg\Applications\Python\Python-3.6.8\PyMod-3.6.8 directory.
+These files need to be copied into the corresponding directories within the Python-3.6.8
+directory before Python can be built. This can be achieved by running the srcprep.py available
+under AppPkg\Applications\Python\Python-3.6.8.


BUILDING
--
2.32.0.windows.2


Jayaprakash, N
 

Hi Mike,

Has this change been merged to master?

Regards,
JP

-----Original Message-----
From: Kinney, Michael D <michael.d.kinney@...>
Sent: 02 November 2021 00:30
To: Jayaprakash, N <n.jayaprakash@...>; devel@edk2.groups.io; Kinney, Michael D <michael.d.kinney@...>
Cc: Rebecca Cran <rebecca@...>
Subject: RE: [edk2-libc Patch V4 6/6] AppPkg/Applications/Python: to fix readme files in edk2-libc

Series Reviewed-by: Michael D Kinney <michael.d.kinney@...>


-----Original Message-----
From: Jayaprakash, N <n.jayaprakash@...>
Sent: Monday, November 1, 2021 11:35 AM
To: devel@edk2.groups.io
Cc: Rebecca Cran <rebecca@...>; Kinney, Michael D
<michael.d.kinney@...>; Jayaprakash, N <n.jayaprakash@...>
Subject: [edk2-libc Patch V4 6/6] AppPkg/Applications/Python: to fix
readme files in edk2-libc

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

This commit is to update remaining references to py 2.7.10 in
StdLib/Readme.txt and StdLibPrivateInternalFiles/ReadMe.txt
documents to py3.6.8.

Cc: Rebecca Cran <rebecca@...>
Cc: Michael D Kinney <michael.d.kinney@...>
Signed-off-by: Jayaprakash N <n.jayaprakash@...>
---
StdLib/ReadMe.txt | 15 +++++++--------
StdLibPrivateInternalFiles/ReadMe.txt | 14 ++++++--------
2 files changed, 13 insertions(+), 16 deletions(-)

diff --git a/StdLib/ReadMe.txt b/StdLib/ReadMe.txt index
5199692..8e0305e 100644
--- a/StdLib/ReadMe.txt
+++ b/StdLib/ReadMe.txt
@@ -158,14 +158,13 @@ There are some boiler-plate declarations and
definitions that need to be included in your application's INF and
DSC build files. These are described in the CONFIGURATION section, below.

-A subset of the Python 2.7.2 distribution is included as part of
AppPkg. If desired, -the full Python 2.7.2 distribution may be downloaded from python.org and used instead.
-Delete or rename the existing Python-2.7.2 directory then extract the
downloaded -Python-2.7.2.tgz file into the AppPkg\Applications\Python
directory. This will produce a
-Python-2.7.2 directory containing the full Python distribution.
Python files that had to be -modified for EDK II are in the
AppPkg\Applications\Python\PyMod-2.7.2 directory. These -files need
to be copied into the corresponding directories within the extracted Python-2.7.2 -directory before Python can be built.
+A full distribution of the Python 3.6.8 has been included as part of
+AppPkg. But only a subset of the features have been enabled for UEFI
+use case. Python files that had to be modified for EDK II are in the AppPkg\Applications\Python\Python-3.6.8\PyMod-3.6.8 directory.
+These files need to be copied into the corresponding directories
+within the Python-3.6.8 directory before Python can be built. This
+can be achieved by running the srcprep.py available under AppPkg\Applications\Python\Python-3.6.8.
+


BUILDING
diff --git a/StdLibPrivateInternalFiles/ReadMe.txt
b/StdLibPrivateInternalFiles/ReadMe.txt
index 424ee96..e21d2c8 100644
--- a/StdLibPrivateInternalFiles/ReadMe.txt
+++ b/StdLibPrivateInternalFiles/ReadMe.txt
@@ -146,14 +146,12 @@ There are some boiler-plate declarations and
definitions that need to be included in your application's INF and
DSC build files. These are described in the CONFIGURATION section, below.

-A subset of the Python 2.7.2 distribution is included as part of
AppPkg. If desired, -the full Python 2.7.2 distribution may be downloaded from python.org and used instead.
-Delete or rename the existing Python-2.7.2 directory then extract the
downloaded -Python-2.7.2.tgz file into the AppPkg\Applications\Python
directory. This will produce a
-Python-2.7.2 directory containing the full Python distribution.
Python files that had to be -modified for EDK II are in the
AppPkg\Applications\Python\PyMod-2.7.2 directory. These -files need
to be copied into the corresponding directories within the extracted Python-2.7.2 -directory before Python can be built.
+A full distribution of the Python 3.6.8 has been included as part of
+AppPkg. But only a subset of the features have been enabled for UEFI
+use case. Python files that had to be modified for EDK II are in the AppPkg\Applications\Python\Python-3.6.8\PyMod-3.6.8 directory.
+These files need to be copied into the corresponding directories
+within the Python-3.6.8 directory before Python can be built. This
+can be achieved by running the srcprep.py available under AppPkg\Applications\Python\Python-3.6.8.


BUILDING
--
2.32.0.windows.2


Rebecca Cran <rebecca@...>
 

It looks like it did get pushed to master - see https://github.com/tianocore/edk2-libc/commits/master .

Hi Mike,

Has this change been merged to master?

Regards,
JP

-----Original Message-----
From: Kinney, Michael D <michael.d.kinney@...>
Sent: 02 November 2021 00:30
To: Jayaprakash, N <n.jayaprakash@...>; devel@edk2.groups.io; Kinney, Michael D <michael.d.kinney@...>
Cc: Rebecca Cran <rebecca@...>
Subject: RE: [edk2-libc Patch V4 6/6] AppPkg/Applications/Python: to fix readme files in edk2-libc

Series Reviewed-by: Michael D Kinney <michael.d.kinney@...>


-----Original Message-----
From: Jayaprakash, N <n.jayaprakash@...>
Sent: Monday, November 1, 2021 11:35 AM
To: devel@edk2.groups.io
Cc: Rebecca Cran <rebecca@...>; Kinney, Michael D
<michael.d.kinney@...>; Jayaprakash, N <n.jayaprakash@...>
Subject: [edk2-libc Patch V4 6/6] AppPkg/Applications/Python: to fix
readme files in edk2-libc

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

This commit is to update remaining references to py 2.7.10 in
StdLib/Readme.txt and StdLibPrivateInternalFiles/ReadMe.txt
documents to py3.6.8.

Cc: Rebecca Cran <rebecca@...>
Cc: Michael D Kinney <michael.d.kinney@...>
Signed-off-by: Jayaprakash N <n.jayaprakash@...>
---
StdLib/ReadMe.txt | 15 +++++++--------
StdLibPrivateInternalFiles/ReadMe.txt | 14 ++++++--------
2 files changed, 13 insertions(+), 16 deletions(-)

diff --git a/StdLib/ReadMe.txt b/StdLib/ReadMe.txt index
5199692..8e0305e 100644
--- a/StdLib/ReadMe.txt
+++ b/StdLib/ReadMe.txt
@@ -158,14 +158,13 @@ There are some boiler-plate declarations and
definitions that need to be included in your application's INF and
DSC build files. These are described in the CONFIGURATION section, below.

-A subset of the Python 2.7.2 distribution is included as part of
AppPkg. If desired, -the full Python 2.7.2 distribution may be downloaded from python.org and used instead.
-Delete or rename the existing Python-2.7.2 directory then extract the
downloaded -Python-2.7.2.tgz file into the AppPkg\Applications\Python
directory. This will produce a
-Python-2.7.2 directory containing the full Python distribution.
Python files that had to be -modified for EDK II are in the
AppPkg\Applications\Python\PyMod-2.7.2 directory. These -files need
to be copied into the corresponding directories within the extracted Python-2.7.2 -directory before Python can be built.
+A full distribution of the Python 3.6.8 has been included as part of
+AppPkg. But only a subset of the features have been enabled for UEFI
+use case. Python files that had to be modified for EDK II are in the AppPkg\Applications\Python\Python-3.6.8\PyMod-3.6.8 directory.
+These files need to be copied into the corresponding directories
+within the Python-3.6.8 directory before Python can be built. This
+can be achieved by running the srcprep.py available under AppPkg\Applications\Python\Python-3.6.8.
+


BUILDING
diff --git a/StdLibPrivateInternalFiles/ReadMe.txt
b/StdLibPrivateInternalFiles/ReadMe.txt
index 424ee96..e21d2c8 100644
--- a/StdLibPrivateInternalFiles/ReadMe.txt
+++ b/StdLibPrivateInternalFiles/ReadMe.txt
@@ -146,14 +146,12 @@ There are some boiler-plate declarations and
definitions that need to be included in your application's INF and
DSC build files. These are described in the CONFIGURATION section, below.

-A subset of the Python 2.7.2 distribution is included as part of
AppPkg. If desired, -the full Python 2.7.2 distribution may be downloaded from python.org and used instead.
-Delete or rename the existing Python-2.7.2 directory then extract the
downloaded -Python-2.7.2.tgz file into the AppPkg\Applications\Python
directory. This will produce a
-Python-2.7.2 directory containing the full Python distribution.
Python files that had to be -modified for EDK II are in the
AppPkg\Applications\Python\PyMod-2.7.2 directory. These -files need
to be copied into the corresponding directories within the extracted Python-2.7.2 -directory before Python can be built.
+A full distribution of the Python 3.6.8 has been included as part of
+AppPkg. But only a subset of the features have been enabled for UEFI
+use case. Python files that had to be modified for EDK II are in the AppPkg\Applications\Python\Python-3.6.8\PyMod-3.6.8 directory.
+These files need to be copied into the corresponding directories
+within the Python-3.6.8 directory before Python can be built. This
+can be achieved by running the srcprep.py available under AppPkg\Applications\Python\Python-3.6.8.


BUILDING
--
2.32.0.windows.2



Rebecca Cran
 

It looks like it did get pushed to master - see https://github.com/tianocore/edk2-libc/commits/master .


--

Rebecca Cran

On 11/3/21 12:28 AM, Jayaprakash, N wrote:
Hi Mike,

Has this change been merged to master?

Regards,
JP

-----Original Message-----
From: Kinney, Michael D <michael.d.kinney@...>
Sent: 02 November 2021 00:30
To: Jayaprakash, N <n.jayaprakash@...>; devel@edk2.groups.io; Kinney, Michael D <michael.d.kinney@...>
Cc: Rebecca Cran <rebecca@...>
Subject: RE: [edk2-libc Patch V4 6/6] AppPkg/Applications/Python: to fix readme files in edk2-libc

Series Reviewed-by: Michael D Kinney <michael.d.kinney@...>


-----Original Message-----
From: Jayaprakash, N <n.jayaprakash@...>
Sent: Monday, November 1, 2021 11:35 AM
To: devel@edk2.groups.io
Cc: Rebecca Cran <rebecca@...>; Kinney, Michael D
<michael.d.kinney@...>; Jayaprakash, N <n.jayaprakash@...>
Subject: [edk2-libc Patch V4 6/6] AppPkg/Applications/Python: to fix
readme files in edk2-libc

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

This commit is to update remaining references to py 2.7.10 in
StdLib/Readme.txt and StdLibPrivateInternalFiles/ReadMe.txt
documents to py3.6.8.

Cc: Rebecca Cran <rebecca@...>
Cc: Michael D Kinney <michael.d.kinney@...>
Signed-off-by: Jayaprakash N <n.jayaprakash@...>
---
StdLib/ReadMe.txt | 15 +++++++--------
StdLibPrivateInternalFiles/ReadMe.txt | 14 ++++++--------
2 files changed, 13 insertions(+), 16 deletions(-)

diff --git a/StdLib/ReadMe.txt b/StdLib/ReadMe.txt index
5199692..8e0305e 100644
--- a/StdLib/ReadMe.txt
+++ b/StdLib/ReadMe.txt
@@ -158,14 +158,13 @@ There are some boiler-plate declarations and
definitions that need to be included in your application's INF and
DSC build files. These are described in the CONFIGURATION section, below.

-A subset of the Python 2.7.2 distribution is included as part of
AppPkg. If desired, -the full Python 2.7.2 distribution may be downloaded from python.org and used instead.
-Delete or rename the existing Python-2.7.2 directory then extract the
downloaded -Python-2.7.2.tgz file into the AppPkg\Applications\Python
directory. This will produce a
-Python-2.7.2 directory containing the full Python distribution.
Python files that had to be -modified for EDK II are in the
AppPkg\Applications\Python\PyMod-2.7.2 directory. These -files need
to be copied into the corresponding directories within the extracted Python-2.7.2 -directory before Python can be built.
+A full distribution of the Python 3.6.8 has been included as part of
+AppPkg. But only a subset of the features have been enabled for UEFI
+use case. Python files that had to be modified for EDK II are in the AppPkg\Applications\Python\Python-3.6.8\PyMod-3.6.8 directory.
+These files need to be copied into the corresponding directories
+within the Python-3.6.8 directory before Python can be built. This
+can be achieved by running the srcprep.py available under AppPkg\Applications\Python\Python-3.6.8.
+


BUILDING
diff --git a/StdLibPrivateInternalFiles/ReadMe.txt
b/StdLibPrivateInternalFiles/ReadMe.txt
index 424ee96..e21d2c8 100644
--- a/StdLibPrivateInternalFiles/ReadMe.txt
+++ b/StdLibPrivateInternalFiles/ReadMe.txt
@@ -146,14 +146,12 @@ There are some boiler-plate declarations and
definitions that need to be included in your application's INF and
DSC build files. These are described in the CONFIGURATION section, below.

-A subset of the Python 2.7.2 distribution is included as part of
AppPkg. If desired, -the full Python 2.7.2 distribution may be downloaded from python.org and used instead.
-Delete or rename the existing Python-2.7.2 directory then extract the
downloaded -Python-2.7.2.tgz file into the AppPkg\Applications\Python
directory. This will produce a
-Python-2.7.2 directory containing the full Python distribution.
Python files that had to be -modified for EDK II are in the
AppPkg\Applications\Python\PyMod-2.7.2 directory. These -files need
to be copied into the corresponding directories within the extracted Python-2.7.2 -directory before Python can be built.
+A full distribution of the Python 3.6.8 has been included as part of
+AppPkg. But only a subset of the features have been enabled for UEFI
+use case. Python files that had to be modified for EDK II are in the AppPkg\Applications\Python\Python-3.6.8\PyMod-3.6.8 directory.
+These files need to be copied into the corresponding directories
+within the Python-3.6.8 directory before Python can be built. This
+can be achieved by running the srcprep.py available under AppPkg\Applications\Python\Python-3.6.8.


BUILDING
--
2.32.0.windows.2