source: trunk/synapse/setup_win32.py @ 178

Last change on this file since 178 was 178, checked in by sc, 12 years ago

synapse/setup.py:

  • release number changed to 0.4.0 considering large rewrites for Python module format
  • packaging fixes for new Python module format

synapse/setup.cfg:

  • python-matplotlib requirement added

synapse/setup_win32.py:

  • py2exe matplotlib requirement added

synapse/puzzlebox_synapse.desktop:

  • desktop link moved to Education;Science
File size: 2.2 KB
Line 
1#!/usr/bin/env python
2#
3# Puzzlebox - ThinkGear Emulator - Py2Exe Distutils
4#
5# Copyright Puzzlebox Productions, LLC (2010)
6#
7# This code is released under the GNU Pulic License (GPL) version 2
8# For more information please refer to http://www.gnu.org/copyleft/gpl.html
9#
10# Last Update: 2010.09.15
11#
12#####################################################################
13
14from distutils.core import setup
15import os, sys
16import glob
17try:
18        import py2exe
19except:
20        pass
21
22#####################################################################
23# Main
24#####################################################################
25
26if __name__ != '__main__':
27       
28        sys.exit()
29
30setup(
31        name='puzzlebox_synapse',
32        version='0.4.0',
33        description='Puzzlebox Synapse provides a GUI and socket-server interface to commercially available EEG headsets',
34        author='Steve Castellotti',
35        author_email='sc@puzzlebox.info',
36        url='http://brainstorms.puzzlebox.info',
37        py_modules=['Puzzlebox', \
38                    'Puzzlebox.Synapse', \
39                    'Puzzlebox.Synapse.Protocol', \
40                    'Puzzlebox.Synapse.Server', \
41                    'Puzzlebox.Synapse.Client', \
42                    'Puzzlebox.Synapse.Interface', \
43                    'Puzzlebox.Synapse.Interface_Design', \
44                    'Puzzlebox.Synapse.Interface_Plot', \
45                    'Puzzlebox.Synapse.Configuration', \
46                    'synapse-protocol', \
47                    'synapse-server', \
48                    'synapse-client', \
49                    'synapse-gui'], \
50        options={"py2exe":{"includes":["sip", "matplotlib"], "excludes": ["bluetooth"]}},
51        console=["synapse-client.py", \
52                 "synapse-server.py", \
53                 "synapse-protocol.py"
54        ],
55        data_files=[("", \
56                            ["puzzlebox_synapse_configuration.ini"]),
57                    ("images", \
58                            ["images/puzzlebox.ico", \
59                             "images/puzzlebox_logo.png"]),
60        ],
61        windows=[ \
62                {
63                 "script": "puzzlebox_synapse_interface.py",
64                 "icon_resources": [(1, \
65                 os.path.join("images", "puzzlebox.ico"))]
66                },
67        ],
68        classifiers=[ \
69                'Development Status :: 4 - Beta',
70                'Intended Audience :: End Users/Desktop',
71                'Programming Language :: Python',
72                'Operating System :: OS Independent',
73                'License :: OSI Approved :: GNU General Public License (GPL)',
74                'Topic :: Scientific/Engineering :: Human Machine Interfaces',
75        ],
76)
Note: See TracBrowser for help on using the repository browser.