"""A setuptools based setup module.

See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import os

from setuptools import setup, find_packages, Extension

import pynumenc_meta

# pylint: disable=redefined-builtin

here = os.path.abspath(os.path.dirname(__file__))  # pylint: disable=invalid-name

with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
    long_description = f.read()  # pylint: disable=invalid-name

setup(
    name=pynumenc_meta.__title__,
    version=pynumenc_meta.__version__,
    description=pynumenc_meta.__description__,
    long_description=long_description,
    url=pynumenc_meta.__url__,
    author=pynumenc_meta.__author__,
    author_email=pynumenc_meta.__author_email__,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: End Users/Desktop',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6'
    ],
    license='License :: OSI Approved :: MIT License',
    keywords='C++ encode decode bytes encoding decoding sorted',
    packages=find_packages(exclude=['docs', 'tests']),
    install_requires=[],
    extras_require={
        'dev': [
            # yapf: disable,
            'docutils>=0.14,<1',
            'mypy==0.641',
            'hypothesis==3.82.1',
            'pygments>=2.2.0,<3',
            'pydocstyle>=3.0.0,<4',
            'pylint==2.1.1',
            'yapf==0.24.0'
            # yapf: enable
        ]
    },
    ext_modules=[
        Extension('numenc', sources=['numenc-cpp/encoder_decoder.cpp'])
    ],
    scripts=['bin/pynumenc'],
    py_modules=['pynumenc_meta'],
    package_data={'pynumenc': ['py.typed']},
    data_files=[('.', ['LICENSE.txt', 'README.rst'])])

[((15, 23, 15, 48), 'os.path.dirname', 'os.path.dirname', ({(15, 39, 15, 47): '__file__'}, {}), '(__file__)', False, 'import os\n'), ((17, 10, 17, 42), 'os.path.join', 'os.path.join', ({(17, 23, 17, 27): 'here', (17, 29, 17, 41): '"""README.rst"""'}, {}), "(here, 'README.rst')", False, 'import os\n'), ((37, 13, 37, 53), 'setuptools.find_packages', 'find_packages', (), '', False, 'from setuptools import setup, find_packages, Extension\n'), ((53, 8, 53, 71), 'setuptools.Extension', 'Extension', (), '', False, 'from setuptools import setup, find_packages, Extension\n')]