#!/usr/bin/env python # -*- coding: utf-8 -*- #------------------------------------------------------------------------------ # file: $Id$ # auth: Philip J Grabner # date: 2013/04/11 # copy: (C) Copyright 2013 Cadit Inc., see LICENSE.txt #------------------------------------------------------------------------------ import os, sys, setuptools from setuptools import setup # require python 2.7+ if sys.hexversion < 0x02070000: raise RuntimeError('This package requires python 2.7 or better') heredir = os.path.abspath(os.path.dirname(__file__)) def read(*parts, **kw): try: return open(os.path.join(heredir, *parts)).read() except: return kw.get('default', '') test_requires = [ 'nose >= 1.3.0', 'coverage >= 3.5.3', ] requires = [ 'six >= 1.6.1', ] entrypoints = { 'console_scripts': [ 'iniherit = iniherit.cli:main', ], } classifiers = [ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Programming Language :: Python', 'Operating System :: OS Independent', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', 'License :: Public Domain', ] setup( name = 'iniherit', version = read('VERSION.txt', default='0.0.1').strip(), description = 'A ConfigParser subclass with file-specified inheritance.', long_description = read('README.rst'), classifiers = classifiers, author = 'Philip J Grabner, Cadit Health Inc', author_email = 'oss@cadit.com', url = 'http://github.com/cadithealth/iniherit', keywords = 'INI inheritance configparser mixin', packages = setuptools.find_packages(), include_package_data = True, zip_safe = True, install_requires = requires, tests_require = test_requires, test_suite = 'iniherit', entry_points = entrypoints, license = 'MIT (http://opensource.org/licenses/MIT)', ) #------------------------------------------------------------------------------ # end of $Id$ #------------------------------------------------------------------------------