source: rc/puzzlebox_brainstorms_py2exe.py @ 24

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

py2exe:

  • initial checkin

images/puzzlebox.ico:

  • initial checkin
File size: 1.4 KB
Line 
1#!/usr/bin/env python
2#
3# Puzzlebox - Brainstorms - Py2Exe Distutils
4#
5# Copyright Steven M. Castellotti (2010)
6#
7# Portions of this code have been previously
8# released under the GNU Pulic License (GPL) version 2
9# and is Copyright Steven M. Castellotti (2010)
10# For more information please refer to http://www.gnu.org/copyleft/gpl.html
11#
12# Last Update: 2010.02.02
13#
14#####################################################################
15
16from distutils.core import setup
17import py2exe, pygame, glob, os, sys
18
19#####################################################################
20# Main
21#####################################################################
22
23if __name__ != '__main__':
24
25        sys.exit()
26       
27setup(
28        name='Puzzlebox Brainstorms',
29        version='0.1.0',
30        description='Puzzlebox Brainstorms',
31        author='Steve Castellotti',
32        author_email='sc@puzzlebox.info',
33        url='http://www.puzzlebox.info',
34#        console=["puzzlebox_brainstorms_client_interface.py"],
35        data_files=[("images",
36                     glob.glob(os.path.join('images', '*.*'))),
37                    #("fonts",
38                     #glob.glob(os.path.join('fonts', '*.*')))
39                   ],
40        windows=[{
41                   "script": "puzzlebox_brainstorms_client_interface.py",
42                   "icon_resources": [(1, "puzzlebox.ico")]
43                }],
44)
Note: See TracBrowser for help on using the repository browser.