~yasumoto7/five-a-day/icon_countdown

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env python

from distutils.core import setup
import glob
import os
import re

# look/set what version we have
changelog = "debian/changelog"
if os.path.exists(changelog):
    head=open(changelog).readline()
    match = re.compile(".*\((.*)\).*").match(head)
    if match:
        version = match.group(1)

setup(  name='five-a-day',
        version=version,
        scripts=['update-signature', 
               'add-5-a-day' 
                ],
        packages=['fiveaday'],    
        data_files=[ ('/usr/share/5-a-day-applet', ['data/5-a-day-heading.png', 'data/5-a-day-applet.glade']),
                     ('/usr/lib/bonobo/servers', ['GNOME_PyFiveADayApplet.server']),
                     ('/usr/lib/5-a-day-applet', ['5-a-day-applet']),
                   ]

)