Skip to content

Commit

Permalink
Fixes #239 - Purge .orig files from release packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Dec 13, 2024
1 parent 6f5fa58 commit 7c9ec06
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,9 @@ $$(PYTHON_LIB-$(target)): $$(PYTHON_SRCDIR-$(target))/python.exe
make install \
2>&1 | tee -a ../python-$(PYTHON_VERSION).install.log

# Remove any .orig files produced by the compliance patching process
find $$(PYTHON_INSTALL-$(target)) -name "*.orig" -exec rm {} \;

endif

PYTHON_SITECUSTOMIZE-$(target)=$(PROJECT_DIR)/support/$(PYTHON_VER)/$(os)/platform-site/$(target)/sitecustomize.py
Expand Down Expand Up @@ -549,6 +552,9 @@ $$(PYTHON_XCFRAMEWORK-$(os))/Info.plist: \
# Apply the App Store compliance patch
patch --strip 2 --directory $$(PYTHON_INSTALL_VERSION-macosx)/lib/python$(PYTHON_VER) --input $(PROJECT_DIR)/patch/Python/app-store-compliance.patch

# Remove any .orig files produced by the patching process
find $$(PYTHON_INSTALL_VERSION-macosx) -name "*.orig" -exec rm {} \;

# Rewrite the framework to make it standalone
patch/make-relocatable.sh $$(PYTHON_INSTALL_VERSION-macosx) 2>&1 > /dev/null

Expand Down

0 comments on commit 7c9ec06

Please sign in to comment.