"""array_to_latex converts Numpy and Pandas arrays to formatted LaTeX."""

from setuptools import setup
import os

# Utility function to read the README file.
# Used for the long_description.  It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...


def read(fname):
    """Read the readme.rst file."""
    return open(os.path.join(os.path.dirname(__file__), fname)).read()


with open('array_to_latex/__init__.py', 'rb') as fid:
    for line in fid:
        line = line.decode('utf-8')
        if line.startswith('__version__'):
            version = line.strip().split()[-1][1:-1]
            break

setup(name='array_to_latex',
      # Note: Version must also be set in __init__.py
      # Version must also be set in download_url.
      version=version,
      description='Return Numpy and Pandas arrays as formatted LaTeX arrays.',
      author='<NAME>',
      author_email='<EMAIL>',
      url='https://github.com/josephcslater/array_to_latex/',
      #        download_url='https://github.com/josephcslater
      #        /array_to_latex/archive/0.42.tar.gz',
      packages=['array_to_latex'],
      long_description=read('README.rst'),
      keywords=['latex', 'array', 'format', 'numpy', 'scipy'],
      install_requires=['numpy', 'pandas', 'clipboard'],
      classifiers=['Development Status :: 5 - Production/Stable',
                   'Intended Audience :: Science/Research',
                   'License :: OSI Approved :: MIT License',
                   'Environment :: Console',
                   'Intended Audience :: End Users/Desktop',
                   'Intended Audience :: Education',
                   'Intended Audience :: Science/Research',
                   'Programming Language :: Python',
                   'Programming Language :: Python :: 3.4',
                   'Programming Language :: Python :: 3.5',
                   'Programming Language :: Python :: 3.6',
                   'Topic :: Scientific/Engineering',
                   'Topic :: Text Processing :: Markup :: LaTeX',
                   'Operating System :: Microsoft :: Windows',
                   'Operating System :: POSIX',
                   'Operating System :: Unix',
                   'Operating System :: MacOS',
                   'Topic :: Utilities']
      )


# https://pypi.python.org/pypi?%3Aaction=list_classifiers

"""array_to_latex converts Numpy and Pandas arrays to formatted LaTeX."""

from setuptools import setup
import os

# Utility function to read the README file.
# Used for the long_description.  It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...


def read(fname):
    """Read the readme.rst file."""
    return open(os.path.join(os.path.dirname(__file__), fname)).read()


with open('array_to_latex/__init__.py', 'rb') as fid:
    for line in fid:
        line = line.decode('utf-8')
        if line.startswith('__version__'):
            version = line.strip().split()[-1][1:-1]
            break

setup(name='array_to_latex',
      # Note: Version must also be set in __init__.py
      # Version must also be set in download_url.
      version=version,
      description='Return Numpy and Pandas arrays as formatted LaTeX arrays.',
      author='<NAME>',
      author_email='<EMAIL>',
      url='https://github.com/josephcslater/array_to_latex/',
      #        download_url='https://github.com/josephcslater
      #        /array_to_latex/archive/0.42.tar.gz',
      packages=['array_to_latex'],
      long_description=read('README.rst'),
      keywords=['latex', 'array', 'format', 'numpy', 'scipy'],
      install_requires=['numpy', 'pandas', 'clipboard'],
      classifiers=['Development Status :: 5 - Production/Stable',
                   'Intended Audience :: Science/Research',
                   'License :: OSI Approved :: MIT License',
                   'Environment :: Console',
                   'Intended Audience :: End Users/Desktop',
                   'Intended Audience :: Education',
                   'Intended Audience :: Science/Research',
                   'Programming Language :: Python',
                   'Programming Language :: Python :: 3.4',
                   'Programming Language :: Python :: 3.5',
                   'Programming Language :: Python :: 3.6',
                   'Topic :: Scientific/Engineering',
                   'Topic :: Text Processing :: Markup :: LaTeX',
                   'Operating System :: Microsoft :: Windows',
                   'Operating System :: POSIX',
                   'Operating System :: Unix',
                   'Operating System :: MacOS',
                   'Topic :: Utilities']
      )


# https://pypi.python.org/pypi?%3Aaction=list_classifiers

array_to_latex converts Numpy and Pandas arrays to formatted LaTeX. # Utility function to read the README file. # Used for the long_description.  It's nice, because now 1) we have a top level # README file and 2) it's easier to type in the README file than to put a raw # string in below ... Read the readme.rst file. # Note: Version must also be set in __init__.py # Version must also be set in download_url. #        download_url='https://github.com/josephcslater #        /array_to_latex/archive/0.42.tar.gz', # https://pypi.python.org/pypi?%3Aaction=list_classifiers