Skip to content

Commit

Permalink
mac packaging: remove superfluous files in package root
Browse files Browse the repository at this point in the history
  • Loading branch information
robhagemans committed Aug 12, 2018
1 parent d700b12 commit 233fa94
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,11 @@ def run(self):
'install_name_tool', '-change', '@executable_path/libSDL2.dylib',
'@loader_path/libSDL2.dylib', file_path
))
# remove some files we don't need
os.remove('build/PC-BASIC-2.0.app/Contents/MacOS/libSDL2.dylib')
for path in glob.glob('build/PC-BASIC-2.0.app/Contents/MacOS/libnpymath*'):
os.remove(path)


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

0 comments on commit 233fa94

Please sign in to comment.