#! /usr/bin/env python

from distutils.core import setup

ln = open('debian/changelog', 'r').readline()
ver = ln[ ln.index('(')+1 : ln.index(')') ]

setup(
    name = "cc",
    version = ver,
    maintainer = "Marko Kreen",
    maintainer_email = "marko.kreen@skype.net",
    packages = ['cc', 'cc.handler', 'cc.daemon'],
    scripts = [
        'bin/ccserver.py',
    ],
    data_files = [
        ('share/doc/cc', [
            'conf/cclocal.ini',
            'conf/ccproxy.ini',
            'conf/ccserver-info.ini',
            'conf/ccserver-log.ini',
            'conf/ccserver-tasks.ini',
        ]),
    ],
)


@@ -285,13 +285,30 @@
  = %5B
-'cc',
+%0A        'cc',%0A       
  'cc
@@ -317,16 +317,24 @@
 andler',
+%0A       
  'cc.dae
@@ -337,16 +337,60 @@
 .daemon'
+,%0A        'cc.task',%0A        'cc.test',%0A    
 %5D,%0A    s

add cc.task & cc.test packages to install