~ubuntu-branches/ubuntu/trusty/jockey/trusty

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
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/env python

# (c) 2007 Canonical Ltd.
# Author: Martin Pitt <martin.pitt@ubuntu.com>

# This script needs python-distutils-extra, an extension to the standard
# distutils which provides i18n, icon support, etc.
# https://launchpad.net/python-distutils-extra

from glob import glob
from distutils.core import setup
from DistUtilsExtra.command import *

setup(
    name='jockey',
    version='0',

    description='UI for managing third-party and non-free drivers',
    url='https://launchpad.net/jockey',
    license='gpl',

    packages=['jockey'],

    data_files = [
        ('share/jockey', glob('gtk/*.glade')),
        ('share/jockey/modaliases', glob('data/modalias-overrides/*')),
        ('share/jockey/handlers', glob('data/handlers/*')),
        ],

    scripts = ['gtk/jockey-gtk'],

    cmdclass = { 'build': build_extra.build_extra,
                 'build_i18n': build_i18n.build_i18n,
                 'build_icons': build_icons.build_icons,
                 'clean': clean_i18n.clean_i18n,
               }
)