X-Git-Url: https://git.ctpug.org.za/?p=naja.git;a=blobdiff_plain;f=setup.py;h=abbfcb43079918e648ca7a7498191d5cdcfcdd31;hp=49e8fffbda9d9f1acced73b9fd20c32bbf7621c4;hb=9f380d76b4ed0c8aaef84fc783e91003ad485c93;hpb=30397c438de56dd2913eef42a7a6bed424234318 diff --git a/setup.py b/setup.py index 49e8fff..abbfcb4 100644 --- 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', ],