#!/usr/bin/env python

""" Support gjslint code checker.

pylama_gjslint
-------------

pylama_gjslint -- gjslint integration to pylama library.

"""

from os import path as op

from setuptools import setup, find_packages


def read(fname):
    try:
        return open(op.join(op.dirname(__file__), fname)).read()
    except IOError:
        return ''

setup(
    name='pylama_gjslint',
    version='0.0.6',
    license='BSD',
    description=read('DESCRIPTION'),
    long_description=read('README.rst'),
    platforms=('Any'),
    author='trojkat',
    author_email='thearoom@clearcode.cc',
    url='https://github.com/ClearcodeHQ/pylama_gjslint',
    classifiers=[
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
    ],
    entry_points={
        'pylama.linter': [
            'gjslint = pylama_gjslint.main:Linter',
        ],
    },
    packages=find_packages(),
    install_requires = [
        l for l in read('requirements.txt').split('\n')
        if l and not l.startswith('#')],
)

# lint_ignore=F0401
