# -*- coding: utf-8 -*- from distutils.core import setup from distutils.extension import Extension import os import subprocess needed_dirs = ('/usr/lib/lliurex-do') for d in needed_dirs: try: os.makedirs(needed_dir) except: pass setup( name = "Lliurex-Do", version = "0.1", author = "Enrique Medina Gremaldos", author_email = "lliurex_devel4@edu.gva.es", url = "http://lliurex.net/home/", package_dir = {'': 'src'}, packages = ['net','net.Lliurex','net.Lliurex.do'], data_files=[('/usr/bin',['bin/lliurex-do-ctl']),('/usr/lib/lliurex-do', ['bin/lliurex-do.py']),('/usr/lib/bonobo/servers',['rsrc/lliurex-do.server'])] )