Skip to content

Commit 4b2b9d7

Browse files
committed
Clarify comments
1 parent 94a1b8e commit 4b2b9d7

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Android/android.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ def package(context):
574574
with TemporaryDirectory(prefix=SCRIPT_NAME) as temp_dir:
575575
temp_dir = Path(temp_dir)
576576

577-
# All tracked files in the Android directory.
577+
# Include all tracked files from the Android directory.
578578
for line in run(
579579
["git", "ls-files"],
580580
cwd=ANDROID_DIR, capture_output=True, text=True, log=False,
@@ -584,8 +584,9 @@ def package(context):
584584
dst.parent.mkdir(parents=True, exist_ok=True)
585585
shutil.copy2(src, dst, follow_symlinks=False)
586586

587-
# Anything in the prefix directory which could be useful either for
588-
# apps embedding Python, or packages built against it.
587+
# Include anything from the prefix directory which could be useful
588+
# either for embedding Python in an app, or building third-party
589+
# packages against it.
589590
for rel_dir, patterns in [
590591
("include", ["openssl*", "python*", "sqlite*"]),
591592
("lib", ["engines-3", "libcrypto*.so", "libpython*", "libsqlite*",

Android/testbed/app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,15 +147,15 @@ androidComponents.onVariants { variant ->
147147

148148
into("lib/$pyPlusVer") {
149149
// To aid debugging, the source directory takes priority when
150-
// running inside a Python source tree.
150+
// running inside a CPython source tree.
151151
if (
152152
file(ANDROID_DIR).name == "Android"
153153
&& file("$ANDROID_DIR/../pyconfig.h.in").exists()
154154
) {
155155
from("$ANDROID_DIR/../Lib")
156156
}
157157

158-
// The predix directory provides ABI-specific files such as
158+
// The prefix directory provides ABI-specific files such as
159159
// sysconfigdata.
160160
for (triplet in ABIS.values) {
161161
from("$PREFIX_DIR/$triplet/lib/$pyPlusVer")

0 commit comments

Comments
 (0)