Skip to content

Commit 576c68f

Browse files
authored
Merge pull request #109 from SamSchott/inlcude-curses
Include curses in macOS support package
2 parents b0d860c + 8619446 commit 576c68f

6 files changed

+28
-6
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ endif
381381
# Build a "full" tarball with all content for test purposes
382382
tar zcvf dist/Python-$(PYTHON_VER)-$1-support.test-$(BUILD_NUMBER).tar.gz -X patch/Python/test.exclude -C build/$1/Support `ls -A build/$1/Support`
383383
# Build a distributable tarball
384-
tar zcvf $$@ -X patch/Python/release.exclude -C build/$1/Support `ls -A build/$1/Support`
384+
tar zcvf $$@ -X patch/Python/release.common.exclude -X patch/Python/release.$1.exclude -C build/$1/Support `ls -A build/$1/Support`
385385

386386
# Build OpenSSL
387387
OpenSSL-$1: $$(OPENSSL_FRAMEWORK-$1)

patch/Python/release.exclude renamed to patch/Python/release.common.exclude

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# This is a list of Python standard library path patterns
2-
# we exclude from the embedded device Python-Apple-support tarballs.
1+
# This is a list of support package path patterns that we exclude
2+
# from all Python-Apple-support tarballs.
33
# It is used by `tar -X` during the Makefile build.
44
#
55
# Remove binaries; not needed for embedded builds
@@ -25,9 +25,6 @@ Python/Resources/lib/python*/lib-dynload/_xx*.so
2525
# Remove wsgiref web app module; it's unusual that mobile apps would
2626
# start a web app server with it.
2727
Python/Resources/lib/python*/wsgiref
28-
# Remove command-line curses toolkit.
29-
Python/Resources/lib/python*/curses
30-
Python/Resources/lib/python*/lib-dynload/_curses*.so
3128
# Remove config-* directory, which is used for compiling C extension modules.
3229
Python/Resources/lib/python*/config-*
3330
# Remove ensurepip. If user code needs pip, it can add it to

patch/Python/release.iOS.exclude

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# This is a list of support package path patterns that we exclude
2+
# from iOS Python-Apple-support tarballs.
3+
# It is used by `tar -X` during the Makefile build.
4+
#
5+
# Remove command-line curses toolkit.
6+
Python/Resources/lib/python*/curses
7+
Python/Resources/lib/python*/lib-dynload/_curses*.so

patch/Python/release.macOS.exclude

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# This is a list of support package path patterns that we exclude
2+
# from macOS Python-Apple-support tarballs.
3+
# It is used by `tar -X` during the Makefile build.
4+
#

patch/Python/release.tvOS.exclude

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# This is a list of support package path patterns that we exclude
2+
# from tvOS Python-Apple-support tarballs.
3+
# It is used by `tar -X` during the Makefile build.
4+
#
5+
# Remove command-line curses toolkit.
6+
Python/Resources/lib/python*/curses
7+
Python/Resources/lib/python*/lib-dynload/_curses*.so

patch/Python/release.watchOS.exclude

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# This is a list of support package path patterns that we exclude
2+
# from watchOS Python-Apple-support tarballs.
3+
# It is used by `tar -X` during the Makefile build.
4+
#
5+
# Remove command-line curses toolkit.
6+
Python/Resources/lib/python*/curses
7+
Python/Resources/lib/python*/lib-dynload/_curses*.so

0 commit comments

Comments
 (0)