source: remote_control/setup.py @ 57

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

client_interface:

  • converted to a standalone object

client_local:

  • intitial checkin
  • launches both server and client interface

client_network:

  • initial checkin
  • launches network-connected version of client interface

configuration.ini

  • initial checkin
  • overrides default settings found in configuration.py

configuration.py

  • function added to import settings from configuration.ini file

setup.py:

  • fully working py2exe script
File size: 2.0 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.10
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_remote_control.py"],
34        data_files=[("puzzlebox_brainstorms_configuration.ini"),
35                    ("images",
36                     glob.glob(os.path.join('images', '*.*'))),
37                    #("fonts",
38                     #glob.glob(os.path.join('fonts', '*.*')))
39                   ],
40        windows=[{
41                   "script": "puzzlebox_brainstorms_server.py",
42                   "icon_resources": [(1, \
43                                       os.path.join("images", "puzzlebox.ico"))]
44                },
45                #{
46                #   "script": "puzzlebox_brainstorms_remote_control.py",
47                #   "icon_resources": [(1, \
48                #                      os.path.join("images", "puzzlebox.ico"))]
49                #},
50                {
51                   "script": "puzzlebox_brainstorms_client_local.py",
52                   "icon_resources": [(1, \
53                                       os.path.join("images", "puzzlebox.ico"))]
54                },
55                {
56                   "script": "puzzlebox_brainstorms_client_network.py",
57                   "icon_resources": [(1, \
58                                       os.path.join("images", "puzzlebox.ico"))]
59                }
60                ],
61)
Note: See TracBrowser for help on using the repository browser.