File: setup.py

package info (click to toggle)
pylint-common 0.2.5-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 128 kB
  • sloc: python: 86; makefile: 7; sh: 2
file content (55 lines) | stat: -rw-r--r-- 1,633 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# -*- coding: UTF-8 -*-
import sys
from setuptools import find_packages, setup


_version = '0.2.5'
_packages = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"])

_short_description = ("pylint-common is a Pylint plugin to improve Pylint "
                      "error analysis of the standard Python library")

_classifiers = (
    'Development Status :: 6 - Mature',
    'Environment :: Console',
    'Intended Audience :: Developers',
    'Operating System :: Unix',
    'Topic :: Software Development :: Quality Assurance',
    'Programming Language :: Python :: 2.6',
    'Programming Language :: Python :: 2.7',
    'Programming Language :: Python :: 3.3',
    'Programming Language :: Python :: 3.4',
    'Programming Language :: Python :: 3.5',
    'Programming Language :: Python :: 3.6',
)


if sys.version_info < (2, 7):
    # pylint 1.4 dropped support for Python 2.6
    _install_requires = [
        'pylint>=1.0,<1.4',
        'astroid>=1.0,<1.3.0',
        'logilab-common>=0.60.0,<0.63',
        'pylint-plugin-utils>=0.2.6',
    ]
else:
    _install_requires = [
        'pylint>=1.0',
        'pylint-plugin-utils>=0.2.5',
    ]


setup(
    name='pylint-common',
    url='https://github.com/landscapeio/pylint-common',
    author='landscape.io',
    author_email='code@landscape.io',
    description=_short_description,
    version=_version,
    packages=_packages,
    install_requires=_install_requires,
    license='GPLv2',
    classifiers=_classifiers,
    keywords='pylint stdlib plugin',
    zip_safe=False  # see https://github.com/landscapeio/prospector/issues/18#issuecomment-49857277
)