some fixes
[stockthis] / setup.py
1 #!/usr/bin/env python2.5
2 # This program is free software; you can redistribute it and/or
3 # modify it under the terms of the GNU General Public License
4 # as published by the Free Software Foundation; either version 2
5 # of the License, or (at your option) any later version.
6 #
7 # This program is distributed in the hope that it will be useful,
8 # but WITHOUT ANY WARRANTY; without even the implied warranty of
9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10 # GNU General Public License for more details.
11 #
12 # You should have received a copy of the GNU General Public License
13 # along with this program; if not, write to the Free Software
14 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
15 # MA  02110-1301, USA.
16 #
17
18 from distutils.core import setup
19
20 # files to install
21 inst_desktop = ['stockthis.desktop']
22 inst_py = ['stockthis.py', 'marketdata.py']
23 pixmaps = ['pixmaps/loading.gif', 'pixmaps/stockthis.png']
24 inst_dbus = ['stockthis.service']
25 inst_icon = ['stockthis.png']
26 inst_icon_sca = ['pixmaps/stockthis.png']
27
28 data_files = [
29   ('share/applications/hildon', inst_desktop),
30   ('share/stockthis',   inst_py), 
31   ('share/stockthis/pixmaps',   pixmaps),
32   ('share/icons/hicolor/26x26/hildon/',   inst_icon),
33   ('share/icons/hicolor/scalable/hildon/',   inst_icon_sca),
34   ('share/dbus-1/services',   inst_dbus),
35 ]
36
37 setup(
38   name         = 'stockthis',
39   version      = '0.1',
40   description  = 'Stocks application',
41   author       = 'Daniel Martin Yerga',
42   author_email = 'dyerga@gmail.com',
43   url          = 'https://garage.maemo.org/projects/stockthis',
44   data_files   = data_files
45 )