Source

hydra / setup.py

#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2013 Alexander Shorin
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution.
#

import os
import imp
try:
    from setuptools import setup
    has_setuptools = True
except ImportError:
    from distutils.core import setup
    has_setuptools = False


mod = imp.load_module('version', *imp.find_module('version', ['./hydra/']))

info = {}

info['name'] = 'hydra'
info['version'] = mod.__version__
info['description'] = '''Hydra application framework.'''
with open(os.path.join(os.path.dirname(__file__), 'README')) as f:
    info['long_description'] = f.read()
info['license'] = 'BSD'
info['author'] = 'Alexander Shorin'
info['author_email'] = 'kxepal@gmail.com'
info['url'] = 'https://bitbucket.org/kxepal/hydra'
info['py_modules'] = ('hydra',)

setup(**info)