source: trunk/synapse/setup.py @ 178

Last change on this file since 178 was 178, checked in by sc, 11 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.4 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=[("/etc/puzzlebox_synapse", \
56                            ["puzzlebox_synapse_configuration.ini"]),
57                         ("/usr/share/puzzlebox_synapse/images", \
58                            ["images/puzzlebox.ico", \
59                             "images/puzzlebox_logo.png"]),
60                         ("/usr/share/applications", \
61                            ["puzzlebox_synapse.desktop"]),
62        ],
63        windows=[ \
64                {
65                 "script": "synapse-gui.py",
66                 "icon_resources": [(1, \
67                 os.path.join("images", "puzzlebox.ico"))]
68                },
69        ],
70        classifiers=[ \
71                'Development Status :: 4 - Beta',
72                'Intended Audience :: End Users/Desktop',
73                'Programming Language :: Python',
74                'Operating System :: OS Independent',
75                'License :: OSI Approved :: GNU General Public License (GPL)',
76                'Topic :: Scientific/Engineering :: Human Machine Interfaces',
77        ],
78)
Note: See TracBrowser for help on using the repository browser.