2010-04-19 09:18:08 +00:00
|
|
|
# pylint: disable=W0622,C0103
|
2014-03-21 06:36:28 +00:00
|
|
|
# Copyright (c) 2003-2014 LOGILAB S.A. (Paris, FRANCE).
|
2006-04-26 10:48:09 +00:00
|
|
|
# http://www.logilab.fr/ -- mailto:contact@logilab.fr
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify it under
|
|
|
|
# the terms of the GNU General Public License as published by the Free Software
|
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
|
|
# version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
|
|
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License along with
|
|
|
|
# this program; if not, write to the Free Software Foundation, Inc.,
|
2014-02-23 23:02:47 +00:00
|
|
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2006-04-26 10:48:09 +00:00
|
|
|
"""pylint packaging information"""
|
2014-10-24 14:20:56 +00:00
|
|
|
from __future__ import absolute_import
|
2006-04-26 10:48:09 +00:00
|
|
|
|
2015-03-27 17:33:36 +00:00
|
|
|
import sys
|
|
|
|
|
|
|
|
|
2009-03-25 08:42:04 +00:00
|
|
|
modname = distname = 'pylint'
|
2006-04-26 10:48:09 +00:00
|
|
|
|
2015-08-26 19:11:20 +00:00
|
|
|
numversion = (1, 5, 0)
|
2006-04-26 10:48:09 +00:00
|
|
|
version = '.'.join([str(num) for num in numversion])
|
|
|
|
|
2015-03-27 17:33:36 +00:00
|
|
|
install_requires = [
|
|
|
|
'astroid >= 1.3.6',
|
|
|
|
'six',
|
|
|
|
]
|
|
|
|
|
|
|
|
if sys.platform == 'win32':
|
|
|
|
install_requires.append('colorama')
|
|
|
|
|
2009-03-25 08:42:04 +00:00
|
|
|
|
2010-08-26 08:04:13 +00:00
|
|
|
license = 'GPL'
|
|
|
|
description = "python code static checker"
|
2013-04-25 11:34:37 +00:00
|
|
|
web = 'http://www.pylint.org'
|
2014-04-11 13:57:26 +00:00
|
|
|
mailinglist = "mailto://code-quality@python.org"
|
2010-08-26 08:04:13 +00:00
|
|
|
author = 'Logilab'
|
|
|
|
author_email = 'python-projects@lists.logilab.org'
|
2009-03-25 08:42:04 +00:00
|
|
|
|
2013-11-06 21:54:33 +00:00
|
|
|
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',
|
2014-04-17 12:00:21 +00:00
|
|
|
'Topic :: Software Development :: Testing'
|
|
|
|
]
|
2009-03-25 08:42:04 +00:00
|
|
|
|
2006-04-26 10:48:09 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
.
|
2010-12-15 18:14:21 +00:00
|
|
|
Additionally, it is possible to write plugins to add your own checks.
|
|
|
|
.
|
|
|
|
Pylint is shipped with "pylint-gui", "pyreverse" (UML diagram generator)
|
|
|
|
and "symilar" (an independent similarities checker)."""
|
2006-04-26 10:48:09 +00:00
|
|
|
|
|
|
|
from os.path import join
|
2010-08-26 08:04:13 +00:00
|
|
|
scripts = [join('bin', filename)
|
2010-09-14 05:45:43 +00:00
|
|
|
for filename in ('pylint', 'pylint-gui', "symilar", "epylint",
|
|
|
|
"pyreverse")]
|
2006-04-26 10:48:09 +00:00
|
|
|
|
2015-02-14 17:05:56 +00:00
|
|
|
include_dirs = [join('pylint', 'test')]
|