
__author__ = 'Miroslav Bauer'


import os
try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

config = {
    'description'      : 'Distributed job manager based on SAGA library',
    'author'           : 'Miroslav Bauer',
    'author_email'     : 'bauermi2@fel.cvut.cz',
    'version'          : '1.0',
    'install_requires' : ['saga-python', 'pyzmq'],
    'packages'         : ['datamorph'],
    'name'             : 'DataMorph',
    'scripts'          : ['bin/datamorphd'],
    'data_files'       : [('/etc/datamorph/', ['config/datamorph.conf', 'config/agents.cfg'])]
}

setup(**config)
os.chmod('/etc/datamorph/agents.cfg', 0600)
