mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-21 16:19:21 +00:00
c70b281c62
pylint-gui was removed, because it was deemed unfit for being included in *pylint*. It had a couple of bugs and misfeatures, its usability was subpar and since its development was neglected, we decided it is best to move on without it. Part of #975
78 lines
2.5 KiB
Python
78 lines
2.5 KiB
Python
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
# For details: https://github.com/PyCQA/pylint/blob/master/COPYING
|
|
|
|
# pylint: disable=W0622,C0103
|
|
"""pylint packaging information"""
|
|
from __future__ import absolute_import
|
|
|
|
import sys
|
|
from os.path import join
|
|
|
|
|
|
modname = distname = 'pylint'
|
|
|
|
numversion = (2, 0, 0)
|
|
version = '.'.join([str(num) for num in numversion])
|
|
|
|
install_requires = [
|
|
'astroid',
|
|
'six',
|
|
'isort >= 4.2.5',
|
|
'mccabe',
|
|
]
|
|
|
|
dependency_links = [
|
|
'https://github.com/PyCQA/astroid/tarball/master#egg=astroid-master-1.5'
|
|
]
|
|
|
|
if sys.platform == 'win32':
|
|
install_requires.append('colorama')
|
|
if sys.version_info[0] == 2:
|
|
install_requires.append('configparser')
|
|
install_requires.append('backports.functools_lru_cache')
|
|
|
|
|
|
license = 'GPL'
|
|
description = "python code static checker"
|
|
web = 'https://github.com/PyCQA/pylint'
|
|
mailinglist = "mailto:code-quality@python.org"
|
|
author = 'Python Code Quality Authority'
|
|
author_email = 'code-quality@python.org'
|
|
|
|
classifiers = ['Development Status :: 4 - Beta',
|
|
'Environment :: Console',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: GNU General Public License (GPL)',
|
|
'Operating System :: OS Independent',
|
|
'Programming Language :: Python',
|
|
'Programming Language :: Python :: 2',
|
|
'Programming Language :: Python :: 3',
|
|
'Topic :: Software Development :: Debuggers',
|
|
'Topic :: Software Development :: Quality Assurance',
|
|
'Topic :: Software Development :: Testing'
|
|
]
|
|
|
|
|
|
long_desc = """\
|
|
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)
|
|
.
|
|
Pylint can be seen as another PyChecker since nearly all tests you
|
|
can do with PyChecker can also be done with Pylint. However, Pylint
|
|
offers some more features, like checking length of lines of code,
|
|
checking if variable names are well-formed according to your coding
|
|
standard, or checking if declared interfaces are truly implemented,
|
|
and much more.
|
|
.
|
|
Additionally, it is possible to write plugins to add your own checks.
|
|
.
|
|
Pylint is shipped with "pyreverse" (UML diagram generator)
|
|
and "symilar" (an independent similarities checker)."""
|
|
|
|
scripts = [join('bin', filename)
|
|
for filename in ('pylint', "symilar", "epylint",
|
|
"pyreverse")]
|
|
|
|
include_dirs = [join('pylint', 'test')]
|