mirror of
https://github.com/mupen64plus/mupen64plus-ui-python.git
synced 2025-04-02 10:51:53 -04:00
Update build_dmg
This commit is contained in:
parent
6ad95232eb
commit
aaac977cc0
1 changed files with 4 additions and 4 deletions
8
setup.py
8
setup.py
|
@ -98,11 +98,11 @@ class BuildDmg(setuptools.Command):
|
|||
shutil.copy(os.path.join(BASE_DIR, "test", "mupen64plus.v64"), dest_path)
|
||||
|
||||
def remove_files(self):
|
||||
dest_path = os.path.join(self.dist_dir, "dmg", "M64Py.app", "Contents", "MacOS")
|
||||
dest_path = os.path.join(self.dist_dir, "dmg", "M64Py.app", "Contents")
|
||||
for dir_name in ["include", "lib"]:
|
||||
shutil.rmtree(os.path.join(dest_path, dir_name), True)
|
||||
os.remove(os.path.join(self.dist_dir, "dmg", "M64Py.app", "Contents",
|
||||
"Resources", "icon-windowed.icns"))
|
||||
shutil.rmtree(os.path.join(dest_path, "Resources", dir_name), True)
|
||||
os.remove(os.path.join(dest_path, "MacOS", dir_name))
|
||||
os.remove(os.path.join(dest_path, "Resources", "icon-windowed.icns"))
|
||||
|
||||
def run_build(self):
|
||||
import PyInstaller.building.build_main
|
||||
|
|
Loading…
Add table
Reference in a new issue