# IT4Innovations 2017

easyblock = 'PythonPackage'

name = 'pylint'
version = '1.7.2'
versionsuffix = '-Python-2.7.13-base'
github_account = 'PyCQA'

homepage = 'https://github.com/PyCQA/pylint'
description = """Pylint is a Python source code analyzer which looks for programming
 errors, helps enforcing a coding standard and sniffs for some code smells (as defined
 in Martin Fowler's Refactoring book)."""

toolchain = {'name': 'system', 'version': ''}

source_urls = [GITHUB_SOURCE]
sources = [SOURCE_TAR_GZ]

dependencies = [
    ('Python', '2.7.13', '-base', True),
    ('isort', '4.2.15', versionsuffix),
    ('astroid', '1.5.3', versionsuffix),
]

sanity_check_paths = {
    'files': ['bin/pylint'],
    'dirs': ['lib/python%(pyshortver)s/site-packages/pylint-%(version)s-py2.7.egg'],
}

moduleclass = 'lib'
