OLD | NEW |
1 # pylint: disable=W0622,C0103 | 1 # pylint: disable=W0622,C0103 |
2 # Copyright (c) 2003-2014 LOGILAB S.A. (Paris, FRANCE). | 2 # Copyright (c) 2003-2011 LOGILAB S.A. (Paris, FRANCE). |
3 # http://www.logilab.fr/ -- mailto:contact@logilab.fr | 3 # http://www.logilab.fr/ -- mailto:contact@logilab.fr |
4 # | 4 # |
5 # This program is free software; you can redistribute it and/or modify it under | 5 # This program is free software; you can redistribute it and/or modify it under |
6 # the terms of the GNU General Public License as published by the Free Software | 6 # the terms of the GNU General Public License as published by the Free Software |
7 # Foundation; either version 2 of the License, or (at your option) any later | 7 # Foundation; either version 2 of the License, or (at your option) any later |
8 # version. | 8 # version. |
9 # | 9 # |
10 # This program is distributed in the hope that it will be useful, but WITHOUT | 10 # This program is distributed in the hope that it will be useful, but WITHOUT |
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | 11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
12 # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details | 12 # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details |
13 # | 13 # |
14 # You should have received a copy of the GNU General Public License along with | 14 # You should have received a copy of the GNU General Public License along with |
15 # this program; if not, write to the Free Software Foundation, Inc., | 15 # this program; if not, write to the Free Software Foundation, Inc., |
16 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 16 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
17 """pylint packaging information""" | 17 """pylint packaging information""" |
18 import sys | |
19 | 18 |
20 modname = distname = 'pylint' | 19 modname = distname = 'pylint' |
21 | 20 |
22 numversion = (1, 3, 1) | 21 numversion = (0, 25, 1) |
23 version = '.'.join([str(num) for num in numversion]) | 22 version = '.'.join([str(num) for num in numversion]) |
24 | 23 |
25 if sys.version_info < (2, 6): | 24 install_requires = ['logilab-common >= 0.53.0', 'logilab-astng >= 0.21.1'] |
26 install_requires = ['logilab-common >= 0.53.0', 'astroid >= 1.2.1', | |
27 'StringFormat'] | |
28 else: | |
29 install_requires = ['logilab-common >= 0.53.0', 'astroid >= 1.2.1'] | |
30 | 25 |
31 license = 'GPL' | 26 license = 'GPL' |
| 27 copyright = 'Logilab S.A.' |
32 description = "python code static checker" | 28 description = "python code static checker" |
33 web = 'http://www.pylint.org' | 29 web = "http://www.logilab.org/project/%s" % distname |
34 mailinglist = "mailto://code-quality@python.org" | 30 ftp = "ftp://ftp.logilab.org/pub/%s" % modname |
| 31 mailinglist = "mailto://python-projects@lists.logilab.org" |
35 author = 'Logilab' | 32 author = 'Logilab' |
36 author_email = 'python-projects@lists.logilab.org' | 33 author_email = 'python-projects@lists.logilab.org' |
37 | 34 |
38 classifiers = ['Development Status :: 4 - Beta', | 35 classifiers = ['Development Status :: 4 - Beta', |
39 'Environment :: Console', | 36 'Environment :: Console', |
40 'Intended Audience :: Developers', | 37 'Intended Audience :: Developers', |
41 'License :: OSI Approved :: GNU General Public License (GPL)', | 38 'License :: OSI Approved :: GNU General Public License (GPL)', |
42 'Operating System :: OS Independent', | 39 'Operating System :: OS Independent', |
43 'Programming Language :: Python', | 40 'Programming Language :: Python', |
44 'Programming Language :: Python :: 2', | 41 'Topic :: Software Development :: Debuggers', |
45 'Programming Language :: Python :: 3', | 42 'Topic :: Software Development :: Quality Assurance', |
46 'Topic :: Software Development :: Debuggers', | 43 'Topic :: Software Development :: Testing', |
47 'Topic :: Software Development :: Quality Assurance', | 44 ] |
48 'Topic :: Software Development :: Testing' | |
49 ] | |
50 | 45 |
51 | 46 |
52 long_desc = """\ | 47 long_desc = """\ |
53 Pylint is a Python source code analyzer which looks for programming | 48 Pylint is a Python source code analyzer which looks for programming |
54 errors, helps enforcing a coding standard and sniffs for some code | 49 errors, helps enforcing a coding standard and sniffs for some code |
55 smells (as defined in Martin Fowler's Refactoring book) | 50 smells (as defined in Martin Fowler's Refactoring book) |
56 . | 51 . |
57 Pylint can be seen as another PyChecker since nearly all tests you | 52 Pylint can be seen as another PyChecker since nearly all tests you |
58 can do with PyChecker can also be done with Pylint. However, Pylint | 53 can do with PyChecker can also be done with Pylint. However, Pylint |
59 offers some more features, like checking length of lines of code, | 54 offers some more features, like checking length of lines of code, |
60 checking if variable names are well-formed according to your coding | 55 checking if variable names are well-formed according to your coding |
61 standard, or checking if declared interfaces are truly implemented, | 56 standard, or checking if declared interfaces are truly implemented, |
62 and much more. | 57 and much more. |
63 . | 58 . |
64 Additionally, it is possible to write plugins to add your own checks. | 59 Additionally, it is possible to write plugins to add your own checks. |
65 . | 60 . |
66 Pylint is shipped with "pylint-gui", "pyreverse" (UML diagram generator) | 61 Pylint is shipped with "pylint-gui", "pyreverse" (UML diagram generator) |
67 and "symilar" (an independent similarities checker).""" | 62 and "symilar" (an independent similarities checker).""" |
68 | 63 |
69 from os.path import join | 64 from os.path import join |
70 scripts = [join('bin', filename) | 65 scripts = [join('bin', filename) |
71 for filename in ('pylint', 'pylint-gui', "symilar", "epylint", | 66 for filename in ('pylint', 'pylint-gui', "symilar", "epylint", |
72 "pyreverse")] | 67 "pyreverse")] |
73 | 68 |
74 include_dirs = ['test'] | |
OLD | NEW |