Skip to content

Commit

Permalink
Merge pull request #109 from SamSchott/inlcude-curses
Browse files Browse the repository at this point in the history
Include curses in macOS support package
  • Loading branch information
freakboy3742 authored Mar 6, 2021
2 parents b0d860c + 8619446 commit 576c68f
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ endif
# Build a "full" tarball with all content for test purposes
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`
# Build a distributable tarball
tar zcvf $$@ -X patch/Python/release.exclude -C build/$1/Support `ls -A build/$1/Support`
tar zcvf $$@ -X patch/Python/release.common.exclude -X patch/Python/release.$1.exclude -C build/$1/Support `ls -A build/$1/Support`

# Build OpenSSL
OpenSSL-$1: $$(OPENSSL_FRAMEWORK-$1)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This is a list of Python standard library path patterns
# we exclude from the embedded device Python-Apple-support tarballs.
# This is a list of support package path patterns that we exclude
# from all Python-Apple-support tarballs.
# It is used by `tar -X` during the Makefile build.
#
# Remove binaries; not needed for embedded builds
Expand All @@ -25,9 +25,6 @@ Python/Resources/lib/python*/lib-dynload/_xx*.so
# Remove wsgiref web app module; it's unusual that mobile apps would
# start a web app server with it.
Python/Resources/lib/python*/wsgiref
# Remove command-line curses toolkit.
Python/Resources/lib/python*/curses
Python/Resources/lib/python*/lib-dynload/_curses*.so
# Remove config-* directory, which is used for compiling C extension modules.
Python/Resources/lib/python*/config-*
# Remove ensurepip. If user code needs pip, it can add it to
Expand Down
7 changes: 7 additions & 0 deletions patch/Python/release.iOS.exclude
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This is a list of support package path patterns that we exclude
# from iOS Python-Apple-support tarballs.
# It is used by `tar -X` during the Makefile build.
#
# Remove command-line curses toolkit.
Python/Resources/lib/python*/curses
Python/Resources/lib/python*/lib-dynload/_curses*.so
4 changes: 4 additions & 0 deletions patch/Python/release.macOS.exclude
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This is a list of support package path patterns that we exclude
# from macOS Python-Apple-support tarballs.
# It is used by `tar -X` during the Makefile build.
#
7 changes: 7 additions & 0 deletions patch/Python/release.tvOS.exclude
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This is a list of support package path patterns that we exclude
# from tvOS Python-Apple-support tarballs.
# It is used by `tar -X` during the Makefile build.
#
# Remove command-line curses toolkit.
Python/Resources/lib/python*/curses
Python/Resources/lib/python*/lib-dynload/_curses*.so
7 changes: 7 additions & 0 deletions patch/Python/release.watchOS.exclude
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This is a list of support package path patterns that we exclude
# from watchOS Python-Apple-support tarballs.
# It is used by `tar -X` during the Makefile build.
#
# Remove command-line curses toolkit.
Python/Resources/lib/python*/curses
Python/Resources/lib/python*/lib-dynload/_curses*.so

0 comments on commit 576c68f

Please sign in to comment.