Skip to content

Commit

Permalink
Attempt to fix build on GH
Browse files Browse the repository at this point in the history
  • Loading branch information
yousseb committed Nov 5, 2023
1 parent b143399 commit 0ee010b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 32 deletions.
10 changes: 1 addition & 9 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
[py2app]
app = ['bin/meld']
arch = x86_64
# iconfile = osx/meld.icns
# site-packages = false
# packages = gi
# includes = glib, gio, cairo, pango, pangocairo, atk, gobject, gtk.keysyms
# excludes = gtk-2.0
# #frameworks = CoreFoundation, Foundation, Python
# argv_emulation = True
#resources = share/themes/Mac

[flake8]

Expand Down Expand Up @@ -43,4 +35,4 @@ order_by_type = True
use_parentheses = True
indent = 4
include_trailing_comma = True
skip = bin/meld, setup_win32.py, README.md
skip = bin/meld, setup_win32.py, setup_py2app.py, README.md
25 changes: 2 additions & 23 deletions setup_py2app.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,31 +112,10 @@
app=['bin/meld'],
setup_requires=["py2app"],
options={'py2app': {
'includes': [ 'cairo', 'gi', 'weakref', 'encodings' ],
'includes': [ 'gi', 'weakref', 'encodings', 'pycairo', 'PyGObject', 'pyobjc-core', 'pyobjc-framework-Cocoa' ],
'excludes': [ 'tkinter' ],
'dylib_excludes': [ 'Python' ],
'frameworks':
[
# 'libpython3.11.dylib',
# 'libatk-1.0.0.dylib',
# 'libcairo-gobject.2.dylib',
# 'libcairo-script-interpreter.2.dylib',
# 'libcairo.2.dylib',
# 'libgio-2.0.0.dylib',
# 'libgirepository-1.0.1.dylib',
# 'libglib-2.0.0.dylib',
# 'libgmodule-2.0.0.dylib',
# 'libgobject-2.0.0.dylib',
# 'libgtk-3.0.dylib',
# 'libgtkmacintegration-gtk3.4.dylib',
# 'libgtksourceview-4.dylib',
# 'libgtksourceview-4.0.dylib',
# 'libharfbuzz.0.dylib',
# 'libpango-1.0.dylib',
# 'libpangocairo-1.0.0.dylib',
# 'libpangoft2-1.0.0.dylib',
# 'librsvg-2.2.dylib'
],
'frameworks': [ ],
'argv_emulation': False,
'no_chdir': True,
'iconfile': 'osx/meld.icns',
Expand Down

0 comments on commit 0ee010b

Please sign in to comment.