source: remote_control/setup.py @ 73

Last change on this file since 73 was 45, checked in by sc, 12 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
RevLine 
[24]1#!/usr/bin/env python
2#
3# Puzzlebox - Brainstorms - Py2Exe Distutils
4#
[31]5# Copyright Puzzlebox Productions, LLC (2010)
[24]6#
[31]7# This code is released under the GNU Pulic License (GPL) version 2
[24]8# For more information please refer to http://www.gnu.org/copyleft/gpl.html
9#
[45]10# Last Update: 2010.06.10
[24]11#
12#####################################################################
13
14from distutils.core import setup
[44]15import py2exe, glob, os, sys
16#import jaraco.nxt, pygame, serial
[24]17
18#####################################################################
19# Main
20#####################################################################
21
22if __name__ != '__main__':
23
24        sys.exit()
25       
26setup(
27        name='Puzzlebox Brainstorms',
[44]28        version='0.1.2',
[24]29        description='Puzzlebox Brainstorms',
30        author='Steve Castellotti',
31        author_email='sc@puzzlebox.info',
[44]32        url='http://brainstorms.puzzlebox.info',
[45]33        console=["puzzlebox_brainstorms_remote_control.py"],
34        data_files=[("puzzlebox_brainstorms_configuration.ini"),
35                    ("images",
[24]36                     glob.glob(os.path.join('images', '*.*'))),
37                    #("fonts",
38                     #glob.glob(os.path.join('fonts', '*.*')))
39                   ],
40        windows=[{
[45]41                   "script": "puzzlebox_brainstorms_server.py",
[44]42                   "icon_resources": [(1, \
43                                       os.path.join("images", "puzzlebox.ico"))]
44                },
[45]45                #{
46                #   "script": "puzzlebox_brainstorms_remote_control.py",
47                #   "icon_resources": [(1, \
48                #                      os.path.join("images", "puzzlebox.ico"))]
49                #},
[44]50                {
[45]51                   "script": "puzzlebox_brainstorms_client_local.py",
[44]52                   "icon_resources": [(1, \
53                                       os.path.join("images", "puzzlebox.ico"))]
54                },
[45]55                {
56                   "script": "puzzlebox_brainstorms_client_network.py",
57                   "icon_resources": [(1, \
58                                       os.path.join("images", "puzzlebox.ico"))]
59                }
[44]60                ],
[24]61)
Note: See TracBrowser for help on using the repository browser.