source: remote_control/setup.py @ 44

Last change on this file since 44 was 44, checked in by sc, 11 years ago

setup:

  • work towards distributable .exe files

configuration:

  • minor comment tweaks
File size: 1.8 KB
Line 
1#!/usr/bin/env python
2#
3# Puzzlebox - Brainstorms - 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.06.08
11#
12#####################################################################
13
14from distutils.core import setup
15import py2exe, glob, os, sys
16#import jaraco.nxt, pygame, serial
17
18#####################################################################
19# Main
20#####################################################################
21
22if __name__ != '__main__':
23
24        sys.exit()
25       
26setup(
27        name='Puzzlebox Brainstorms',
28        version='0.1.2',
29        description='Puzzlebox Brainstorms',
30        author='Steve Castellotti',
31        author_email='sc@puzzlebox.info',
32        url='http://brainstorms.puzzlebox.info',
33        console=["puzzlebox_brainstorms_server.py"],
34        data_files=[("images",
35                     glob.glob(os.path.join('images', '*.*'))),
36                    #("fonts",
37                     #glob.glob(os.path.join('fonts', '*.*')))
38                   ],
39        windows=[{
40                   "script": "puzzlebox_brainstorms_client_interface.py",
41                   "icon_resources": [(1, \
42                                       os.path.join("images", "puzzlebox.ico"))]
43                },
44                {
45                   "script": "puzzlebox_brainstorms_remote_control.py",
46                   "icon_resources": [(1, \
47                                       os.path.join("images", "puzzlebox.ico"))]
48                },
49                #{
50                #   "script": "puzzlebox_brainstorms_server.py",
51                #   "icon_resources": [(1, \
52                #                      os.path.join("images", "puzzlebox.ico"))]
53                #}
54                ],
55        #include=['serial']
56        #options={"py2exe": {"packages": ["pygame"]}}
57)
Note: See TracBrowser for help on using the repository browser.