# coding=utf-8
# Not importing unicode_literals because in Python 2 distutils, some
# values are expected to be byte strings.
from __future__ import absolute_import, division, print_function

from codecs import open
from os.path import dirname, join, realpath

from setuptools import setup

cwd = dirname(realpath(__file__))

##
# Load long description for PyPi.
with open(join(cwd, 'README.rst'), 'r', 'utf-8') as f:  # type: StreamReader
    long_description = f.read()

##
# Off we go!
setup(
    name='klass-registry',
    description='Factory+Registry pattern for Python classes.',
    url='https://klass-registry.readthedocs.io/',
    version='2.2.2',
    packages=['klass_registry'],
    long_description=long_description,
    install_requires=[
        'six',
        'typing; python_version < "3.0"',
    ],
    extras_require={
        'docs-builder': ['sphinx', 'sphinx_rtd_theme'],
        'test-runner': ['detox'],
    },
    test_suite='test',
    test_loader='nose.loader:TestLoader',
    tests_require=['nose'],
    license='MIT',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
    keywords='registry pattern',
    author='<NAME>',
    author_email='<EMAIL>',
)

# coding=utf-8
# Not importing unicode_literals because in Python 2 distutils, some
# values are expected to be byte strings.
from __future__ import absolute_import, division, print_function

from codecs import open
from os.path import dirname, join, realpath

from setuptools import setup

cwd = dirname(realpath(__file__))

##
# Load long description for PyPi.
with open(join(cwd, 'README.rst'), 'r', 'utf-8') as f:  # type: StreamReader
    long_description = f.read()

##
# Off we go!
setup(
    name='klass-registry',
    description='Factory+Registry pattern for Python classes.',
    url='https://klass-registry.readthedocs.io/',
    version='2.2.2',
    packages=['klass_registry'],
    long_description=long_description,
    install_requires=[
        'six',
        'typing; python_version < "3.0"',
    ],
    extras_require={
        'docs-builder': ['sphinx', 'sphinx_rtd_theme'],
        'test-runner': ['detox'],
    },
    test_suite='test',
    test_loader='nose.loader:TestLoader',
    tests_require=['nose'],
    license='MIT',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
    keywords='registry pattern',
    author='<NAME>',
    author_email='<EMAIL>',
)

# coding=utf-8 # Not importing unicode_literals because in Python 2 distutils, some # values are expected to be byte strings. ## # Load long description for PyPi. # type: StreamReader ## # Off we go!