Skip to content

Commit

Permalink
Revert the zlib fix, which failed.
Browse files Browse the repository at this point in the history
  • Loading branch information
culler committed Dec 4, 2024
1 parent 604c8f1 commit a41d644
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions macOS_app/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,6 @@ def cleanup_app(python):
shutil.move(os.path.join(python_lib_dir, 'lib-dynload'), tmp_dir)
shutil.rmtree(python_lib_dir, ignore_errors= True)
os.rename(tmp_dir, python_lib_dir)
# Py2app requires a zlib extension module to be located in the Resources
# directory. But when it builds the app, it copies the zlib extension
# from the local python installation. Github runners use a HomeBrew
# python, which is built for only one architecture. We need a fat zlib
# because we are building a fat app. So we supply our own zlib.
zlib_so = 'zlib.cpython-%s-darwin.so'%PY_VRSN
os.unlink(os.path.join(resources, zlib_so))
shutil.copy(os.path.join('zlib_bug', zlib_so), resources)

def package_app(dmg_name):
"""
Expand Down
Binary file removed macOS_app/zlib_bug/zlib.cpython-313-darwin.so
Binary file not shown.

0 comments on commit a41d644

Please sign in to comment.