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.07.09 |
---|
11 | # |
---|
12 | ##################################################################### |
---|
13 | |
---|
14 | from distutils.core import setup |
---|
15 | import py2exe, glob, os, sys |
---|
16 | |
---|
17 | ##################################################################### |
---|
18 | # Main |
---|
19 | ##################################################################### |
---|
20 | |
---|
21 | if __name__ != '__main__': |
---|
22 | |
---|
23 | sys.exit() |
---|
24 | |
---|
25 | |
---|
26 | setup( |
---|
27 | name='Puzzlebox Brainstorms', |
---|
28 | version='0.2.0', |
---|
29 | description='Puzzlebox Brainstorms', |
---|
30 | author='Steve Castellotti', |
---|
31 | author_email='sc@puzzlebox.info', |
---|
32 | url='http://brainstorms.puzzlebox.info', |
---|
33 | options={"py2exe":{"includes":["sip"]}}, |
---|
34 | console=["puzzlebox_brainstorms_remote_control.py", \ |
---|
35 | "puzzlebox_brainstorms_network_server.py", \ |
---|
36 | "puzzlebox_brainstorms_network_client.py", \ |
---|
37 | "puzzlebox_brainstorms_network_client_thinkgear.py"], |
---|
38 | data_files=[("puzzlebox_brainstorms_configuration.ini"), |
---|
39 | ("images", |
---|
40 | glob.glob(os.path.join('images', '*.*'))), |
---|
41 | #("fonts", |
---|
42 | #glob.glob(os.path.join('fonts', '*.*'))) |
---|
43 | ], |
---|
44 | windows=[ \ |
---|
45 | #{ |
---|
46 | #"script": "puzzlebox_brainstorms_network_server.py", |
---|
47 | #"icon_resources": [(1, \ |
---|
48 | #os.path.join("images", "puzzlebox.ico"))] |
---|
49 | #}, |
---|
50 | { |
---|
51 | "script": "puzzlebox_brainstorms_client_interface_network.py", |
---|
52 | "icon_resources": [(1, \ |
---|
53 | os.path.join("images", "puzzlebox.ico"))] |
---|
54 | }, |
---|
55 | { |
---|
56 | "script": "puzzlebox_brainstorms_client_interface_local.py", |
---|
57 | "icon_resources": [(1, \ |
---|
58 | os.path.join("images", "puzzlebox.ico"))] |
---|
59 | }, |
---|
60 | ], |
---|
61 | ) |
---|
62 | |
---|