summaryrefslogtreecommitdiffstats
path: root/setup.py
blob: 2bc76ea274b6d8bb6b80c6806dbeda52eb4044a6 (plain)
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/python

from os import sep
from distutils.core import setup, Extension

if __name__ == '__main__' :
    
    setup(\
        name         = "fring",
        version      = "0.1",
        license      = "GPL",
        description  = "Visual disk usage analyser",

        packages     = ['fringlib'],
        package_dir  = {'fringlib': 'src'+sep+'fringlib'},
        scripts      = ['src'+sep+'fring'],

        data_files   = [ 
            ("share"+sep+"fring", ['AUTHORS','COPYING','TODO','README']),
            ("share"+sep+"pixmaps", ["src"+sep+"fring.svg"]),
            ("share"+sep+"applications",['src'+sep+'fring.desktop']),
        ],

        ext_modules = [
            Extension('fringtools',sources = ['src'+sep+'extension'+sep+'fringtools.cpp'])
        ],
    )