Skip to content

Commit 233fa94

Browse files
committed
mac packaging: remove superfluous files in package root
1 parent d700b12 commit 233fa94

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,11 @@ def run(self):
452452
'install_name_tool', '-change', '@executable_path/libSDL2.dylib',
453453
'@loader_path/libSDL2.dylib', file_path
454454
))
455+
# remove some files we don't need
456+
os.remove('build/PC-BASIC-2.0.app/Contents/MacOS/libSDL2.dylib')
457+
for path in glob.glob('build/PC-BASIC-2.0.app/Contents/MacOS/libnpymath*'):
458+
os.remove(path)
459+
455460

456461
def copy_file(self, src, dst):
457462
# catch copy errors, these happen with relative references with funny bracketed names

0 commit comments

Comments
 (0)