Update setup.py for windows packaging
authorNeil <neil@dip.sun.ac.za>
Fri, 16 May 2014 15:49:30 +0000 (17:49 +0200)
committerNeil <neil@dip.sun.ac.za>
Fri, 16 May 2014 15:50:15 +0000 (17:50 +0200)
setup.py

index c66bef4045a1a147be3aa88ec5daa9952736571e..b35e3bf6629c605b6095bb7a365676625add4858 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -75,7 +75,7 @@ setup(
     # py2exe
     windows=[{
         'script': 'scripts/naja',
-        'icon_resources': [(0, "data/icons/naja.ico")],
+        'icon_resources': [(0, "data/icons/robolock.ico")],
     }],
     app=['scripts/naja'],
     options={
@@ -86,10 +86,13 @@ setup(
                 'logging', 'encodings', 'naja',
             ],
             'includes': [
-                'pygame', 'pymunk',
+                'pygame', 'yaml'
             ],
             'excludes': [
-                'numpy',
+                'numpy', 'pygame.sdlmain_osx', 'winreg', 'AppKit', 'Foundation',
+                'Numeric', 'OpenGL.GL', '_scproxy', '_sysconfigdata',
+                'copyreg', 'dummy.Process', 'pkg_resources', 'queue',
+                'win32evtlog', 'win32evtlogutil',
             ],
             'ignores': [
                 # all database modules