root/branch/UmitBluetooth/utils/win/generate_win_installer.py @ 3522

Revision 3522, 1.6 kB (checked in by devtar, 5 years ago)

update on UmitBT structure for setup.py.

Line 
1#!/usr/bin/env python
2# Copyright (C) 2008 Adriano Monteiro Marques.
3#
4# Author: Devtar Singh <devtar@gmail.com>
5#
6# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2 of the License, or
9# (at your option) any later version.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with this program; if not, write to the Free Software
18# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
20from distutils.core import setup
21import py2exe
22
23opts = {
24"py2exe": {
25"excludes": ["ltihooks","email.Generator","email.Iterators","email.Utils", "lightblue"]
26}
27}
28
29setup(
30        version = 'UmitBT_1_alpha2',
31        description = 'UmitBT',
32        name = 'UmitBT',
33        py_modules=['btcore','interface','io','ubt_parser', 'about'],
34        windows=["umitbluetooth"],
35        data_files=[("UmitBT/config/db", ["UmitBT/config/db/btdb.db"]),
36                ("UmitBT/share/pixmaps", ["UmitBT/share/pixmaps/bt.png"]),
37                ("UmitBT/share/pixmaps", ["UmitBT/share/pixmaps/moto.png"]),
38                ("UmitBT/share/pixmaps", ["UmitBT/share/pixmaps/nokia.png"]),
39                ("UmitBT/share/pixmaps", ["UmitBT/share/pixmaps/sony-eric.png"]),
40                ("UmitBT/share/icons", ["UmitBT/share/icons/umit_16.ico"]),
41                ("UmitBT/share/icons", ["UmitBT/share/icons/umit_48.ico"])]
42)
43
Note: See TracBrowser for help on using the browser.