-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make build work and update rest to FIFA 17
- Loading branch information
Jason Hunter
committed
Sep 30, 2016
1 parent
2e784be
commit b50a57d
Showing
5 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
SHELL := /bin/bash | ||
DMGBUILD := $(shell command -v dmgbuild 2> /dev/null) | ||
|
||
macbundle: | ||
rm -rf build dist | ||
python3 setup.py py2app --packages=requests | ||
dmgbuild -s dmg/settings.py "Auto Buyer Installer" dist/AutoBuyerInstaller.dmg | ||
python3 setup.py py2app --packages=requests,PIL | ||
ifdef DMGBUILD | ||
dmgbuild -s dmg/settings.py "Auto Buyer Installer" dist/AutoBuyerInstaller.dmg | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
""" | ||
Monkey-patch macholib to fix "dyld_find() got an unexpected keyword argument 'loader'". | ||
Add 'import macholib_patch' to the top of set_py2app.py | ||
""" | ||
|
||
import macholib | ||
#print("~"*60 + "macholib verion: "+macholib.__version__) | ||
if macholib.__version__ <= "1.7": | ||
print("Applying macholib patch...") | ||
import macholib.dyld | ||
import macholib.MachOGraph | ||
dyld_find_1_7 = macholib.dyld.dyld_find | ||
def dyld_find(name, loader=None, **kwargs): | ||
#print("~"*60 + "calling alternate dyld_find") | ||
if loader is not None: | ||
kwargs['loader_path'] = loader | ||
return dyld_find_1_7(name, **kwargs) | ||
macholib.MachOGraph.dyld_find = dyld_find |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
Pillow | ||
requests | ||
fut | ||
macholib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters