Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

__pkginfo__.py 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. # Copyright (c) 2006-2015 LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
  2. # Copyright (c) 2010 Julien Jehannet <julien.jehannet@logilab.fr>
  3. # Copyright (c) 2013-2014 Google, Inc.
  4. # Copyright (c) 2014-2018 Claudiu Popa <pcmanticore@gmail.com>
  5. # Copyright (c) 2014 Brett Cannon <brett@python.org>
  6. # Copyright (c) 2014 Ricardo Gemignani <ricardo.gemignani@gmail.com>
  7. # Copyright (c) 2014 Arun Persaud <arun@nubati.net>
  8. # Copyright (c) 2015 Ionel Cristian Maries <contact@ionelmc.ro>
  9. # Copyright (c) 2016 Moises Lopez <moylop260@vauxoo.com>
  10. # Copyright (c) 2016 Florian Bruhin <git@the-compiler.org>
  11. # Copyright (c) 2016 Jakub Wilk <jwilk@jwilk.net>
  12. # Copyright (c) 2017 Hugo <hugovk@users.noreply.github.com>
  13. # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
  14. # For details: https://github.com/PyCQA/pylint/blob/master/COPYING
  15. # pylint: disable=W0622,C0103
  16. """pylint packaging information"""
  17. from __future__ import absolute_import
  18. from os.path import join
  19. from sys import version_info as py_version
  20. from pkg_resources import parse_version
  21. from setuptools import __version__ as setuptools_version
  22. modname = distname = 'pylint'
  23. numversion = (1, 9, 2)
  24. version = '.'.join([str(num) for num in numversion])
  25. install_requires = [
  26. 'astroid>=1.6,<2.0',
  27. 'six',
  28. 'isort >= 4.2.5',
  29. 'mccabe',
  30. ]
  31. dependency_links = []
  32. extras_require = {}
  33. extras_require[':sys_platform=="win32"'] = ['colorama']
  34. def has_environment_marker_range_operators_support():
  35. """Code extracted from 'pytest/setup.py'
  36. https://github.com/pytest-dev/pytest/blob/7538680c/setup.py#L31
  37. The first known release to support environment marker with range operators
  38. it is 17.1, see: https://setuptools.readthedocs.io/en/latest/history.html#id113
  39. """
  40. return parse_version(setuptools_version) >= parse_version('17.1')
  41. if has_environment_marker_range_operators_support():
  42. extras_require[':python_version=="2.7"'] = ['configparser', 'backports.functools_lru_cache']
  43. extras_require[':python_version<"3.4"'] = ['singledispatch']
  44. else:
  45. if (py_version.major, py_version.minor) == (2, 7):
  46. install_requires.extend(['configparser', 'backports.functools_lru_cache'])
  47. if py_version < (3, 4):
  48. install_requires.extend(['singledispatch'])
  49. license = 'GPL'
  50. description = "python code static checker"
  51. web = 'https://github.com/PyCQA/pylint'
  52. mailinglist = "mailto:code-quality@python.org"
  53. author = 'Python Code Quality Authority'
  54. author_email = 'code-quality@python.org'
  55. classifiers = ['Development Status :: 4 - Beta',
  56. 'Environment :: Console',
  57. 'Intended Audience :: Developers',
  58. 'License :: OSI Approved :: GNU General Public License (GPL)',
  59. 'Operating System :: OS Independent',
  60. 'Programming Language :: Python',
  61. 'Programming Language :: Python :: 2',
  62. 'Programming Language :: Python :: 2.7',
  63. 'Programming Language :: Python :: 3',
  64. 'Programming Language :: Python :: 3.4',
  65. 'Programming Language :: Python :: 3.5',
  66. 'Programming Language :: Python :: 3.6',
  67. 'Programming Language :: Python :: Implementation :: CPython',
  68. 'Programming Language :: Python :: Implementation :: PyPy',
  69. 'Topic :: Software Development :: Debuggers',
  70. 'Topic :: Software Development :: Quality Assurance',
  71. 'Topic :: Software Development :: Testing'
  72. ]
  73. long_desc = """\
  74. Pylint is a Python source code analyzer which looks for programming
  75. errors, helps enforcing a coding standard and sniffs for some code
  76. smells (as defined in Martin Fowler's Refactoring book)
  77. .
  78. Pylint can be seen as another PyChecker since nearly all tests you
  79. can do with PyChecker can also be done with Pylint. However, Pylint
  80. offers some more features, like checking length of lines of code,
  81. checking if variable names are well-formed according to your coding
  82. standard, or checking if declared interfaces are truly implemented,
  83. and much more.
  84. .
  85. Additionally, it is possible to write plugins to add your own checks.
  86. .
  87. Pylint is shipped with "pyreverse" (UML diagram generator)
  88. and "symilar" (an independent similarities checker)."""
  89. scripts = [join('bin', filename)
  90. for filename in ('pylint', "symilar", "epylint",
  91. "pyreverse")]
  92. include_dirs = [join('pylint', 'test')]