1 #!/usr/bin/python
2 """
3 * setup.py - script to install the openmoko-panel-plugin
4 * (C) 2008 by Sebastian Ohl <sebastian@ohl.nam>
5 * All Rights Reserved
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * with this program; if not, write to the Free Software Foundation, Inc.,
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 """
22 from distutils.core import setup
23 import os
24 from glob import glob
26 setup(name='openmoko-panel-plugin',
27 description='Panel Plugin to display the openmoko FR powerstates',
28 author='Sebastian Ohl',
29 author_email='sebastian@ohl.name',
30 version='0.6',
31 license='GPL_v2',
32 scripts=['openmoko-panel-plugin'],
33 url='http://projects.openmoko.org/projects/panel-plugin/',
34 data_files=[
35 ('/usr/share/applications',
36 ['openmoko-panel-plugin.desktop']
37 ),
38 ('/usr/share/pixmaps/openmoko-panel-plugin',
39 glob('pixmaps/*.png')
40 ),
41 ],
42 )
