os x
authorFrank <if.self.end@gmail.com>
Thu, 1 Sep 2016 17:22:56 +0000 (13:22 -0400)
committerFrank <if.self.end@gmail.com>
Thu, 1 Sep 2016 17:22:56 +0000 (13:22 -0400)
.gitignore
lib/pgfw
setup.py

index 32cb1f2..1797c79 100644 (file)
@@ -2,3 +2,4 @@
 local/
 MANIFEST
 dist/
+build/
index 004b577..296df41 160000 (submodule)
--- a/lib/pgfw
+++ b/lib/pgfw
@@ -1 +1 @@
-Subproject commit 004b577f9fd70f61c8dd4402055b290f72666a05
+Subproject commit 296df41d2cafe3a886613fc9e6766b30e325b078
index 24962ef..89de182 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,28 +1,10 @@
 from sys import platform
 
-
 if __name__ == "__main__":
     if platform == "darwin":
-        from setuptools import setup, find_packages
-        from lib.pgfw.pgfw.Configuration import Configuration
-        from lib.pgfw.pgfw.Setup import Setup
-        config = Configuration()
-        setup_obj = Setup()
-        version = config.get_section("setup")["version"]
-        name = setup_obj.translate_title()
-        plist = dict(
-            CFBundleIconFile=name,
-            CFBundleName=name,
-            CFBundleShortVersionString=version,
-            CFBundleGetInfoString=' '.join([name, version]),
-            CFBundleExecutable=name,
-            CFBundleIdentifier='org.' + name.lower())
-        setup(name=name,
-              version=version,
-              app=[dict(script="OPEN-GAME", plist=plist)],
-              setup_requires=["py2app"],
-              options=dict(py2app=dict(arch="i386",)),
-              data_files=["wisp", "resource", "lib", "config", "OFL.txt"])
+        from lib.pgfw.pgfw.SetupOSX import SetupOSX
+        SetupOSX("OPEN-GAME",
+                 ["HEAVENSlime.py", "resource", "lib", "config"]).setup()
     elif platform == "win32":
         from lib.pgfw.pgfw.SetupWin import SetupWin
         SetupWin().setup()