#!/usr/bin/env python
from setuptools import setup

try:
    with open('README.md', 'r', encoding='utf-8') as fh:
        long_description = fh.read()
except (IOError, OSError):
    long_description = ''

setup(
    name='xontrib-pipeliner',
    version='0.3.4',
    license='BSD',
    author='anki',
    author_email='author@example.com',
    description="Easily process the lines using pipes in xonsh.",
    long_description=long_description,
    long_description_content_type='text/markdown',
    python_requires='>=3.6',
    install_requires=['xonsh', 'six'],
    packages=['xontrib.pipeliner', 'xontrib_pipeliner_asttokens'],
    package_dir={'xontrib': 'xontrib'},
    package_data={'xontrib': ['*.py']},
    platforms='any',
    url='https://github.com/anki-code/xontrib-pipeliner',
    project_urls={
        "Documentation": "https://github.com/anki-code/xontrib-pipeliner/blob/master/README.md",
        "Code": "https://github.com/anki-code/xontrib-pipeliner",
        "Issue tracker": "https://github.com/anki-code/xontrib-pipeliner/issues",
    },
    classifiers=[
        'Environment :: Console',
        'Intended Audience :: End Users/Desktop',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        "Programming Language :: Unix Shell",
        "Topic :: System :: Shells",
        "Topic :: System :: System Shells",
        "Topic :: Terminals",
        "Topic :: System :: Networking",
        "License :: OSI Approved :: BSD License"
    ]
)
