#!/usr/bin/env python2

import os
import sys

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

# Publish Helper.
if sys.argv[-1] == 'publish':
    os.system('python3 setup.py sdist upload')
    sys.exit()

settings = {
    'name': 'aiomanhole',
    'version': '0.4.2',
    'description': "Python module to provide a manhole in asyncio applications",
    'long_description': '\n\n'.join([open('README.rst').read(), open('CHANGELOG.rst').read()]),
    'author': '<NAME>',
    'author_email': '<EMAIL>',
    'url': 'https://github.com/nathan-hoad/aiomanhole',
    'license': 'BSD (3-clause)',
    'classifiers': [
        # 'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'Natural Language :: English',
        'License :: OSI Approved :: BSD License',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
    ],
    'packages': ['aiomanhole']
}

setup(**settings)

#!/usr/bin/env python2

import os
import sys

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

# Publish Helper.
if sys.argv[-1] == 'publish':
    os.system('python3 setup.py sdist upload')
    sys.exit()

settings = {
    'name': 'aiomanhole',
    'version': '0.4.2',
    'description': "Python module to provide a manhole in asyncio applications",
    'long_description': '\n\n'.join([open('README.rst').read(), open('CHANGELOG.rst').read()]),
    'author': '<NAME>',
    'author_email': '<EMAIL>',
    'url': 'https://github.com/nathan-hoad/aiomanhole',
    'license': 'BSD (3-clause)',
    'classifiers': [
        # 'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'Natural Language :: English',
        'License :: OSI Approved :: BSD License',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
    ],
    'packages': ['aiomanhole']
}

setup(**settings)

#!/usr/bin/env python2 # Publish Helper. # 'Development Status :: 5 - Production/Stable',