Make chess puzzle level (Kasparov to F3) winnable.
[naja.git] / setup.py
index 49e8fffbda9d9f1acced73b9fd20c32bbf7621c4..abbfcb43079918e648ca7a7498191d5cdcfcdd31 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -16,8 +16,11 @@ try:
 except ImportError:
     pass
 
+
 # This should probably be pulled from constants.py
+# These two constants are used by darwin-py2app.sh.
 VERSION_STR = "0.1"
+NAME_STR = "robolock-II"
 
 
 class NajaSdist(sdist):
@@ -33,7 +36,7 @@ class NajaInstall(install):
 
 
 setup(
-    name="robolock-II",
+    name=NAME_STR,
     version=VERSION_STR,
     description="Robolock II - a puzzle game",
 
@@ -114,10 +117,10 @@ setup(
                 'pygame',
             ],
             'excludes': [
-                'numpy', 'pygame.sdlmain_osx', 'winreg', 'AppKit', 'Foundation',
-                'Numeric', 'OpenGL.GL', '_scproxy', '_sysconfigdata',
-                'copyreg', 'dummy.Process', 'pkg_resources', 'queue',
-                'win32evtlog', 'win32evtlogutil',
+                'numpy', 'pygame.sdlmain_osx', 'winreg', 'AppKit',
+                'Foundation', 'Numeric', 'OpenGL.GL', '_scproxy',
+                '_sysconfigdata', 'copyreg', 'dummy.Process', 'pkg_resources',
+                'queue', 'win32evtlog', 'win32evtlogutil',
             ],
             'ignores': [
                 # all database modules
@@ -136,7 +139,7 @@ setup(
         'py2app': {
             'app': ['run_game.py'],
             'argv_emulation': True,
-            'iconfile': 'data/icons/program/icon.icns',
+            'iconfile': 'data/icons/robolock.icns',
             'packages': [
                 'logging', 'encodings', 'pygame', 'naja', 'data',
             ],