Fix setting of title for bookmarks (not items)
[panucci.git] / setup.py
blob96be15050385292fd7541d8556d7fea769175852
1 #!/usr/bin/env python
3 # This file is part of Panucci.
4 # Copyright (c) 2008-2009 The Panucci Audiobook and Podcast Player Project
6 # Panucci 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 3 of the License, or
9 # (at your option) any later version.
11 # Panucci 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.
16 # You should have received a copy of the GNU General Public License
17 # along with Panucci. If not, see <http://www.gnu.org/licenses/>.
20 from distutils.core import setup
21 from glob import glob
22 import os
24 running_on_tablet = os.path.exists('/etc/osso_software_version')
26 applications_dir = 'share/applications'
27 if running_on_tablet:
28 applications_dir += '/hildon'
30 data_files = [
31 ('share/panucci', glob('icons/*.png')),
32 (applications_dir, ['data/panucci.desktop']),
33 ('share/icons/hicolor/scalable/apps', ['data/panucci.png']),
36 setup(name='Panucci',
37 version='0.2',
38 description='A Resuming Media Player',
39 author='Thomas Perl',
40 author_email='thp@perli.net',
41 url='http://panucci.garage.maemo.org/',
42 packages=['panucci'],
43 package_dir={ '':'src' },
44 scripts=['bin/panucci'],
45 data_files=data_files,