setup.py 1.59 KB
Newer Older
1
# -*- coding: UTF-8 -*-
2
import sys
3
from setuptools import find_packages, setup
4 5


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

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

_classifiers = (
13
    'Development Status :: 6 - Mature',
14 15 16 17 18 19 20 21
    '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',
22
    'Programming Language :: Python :: 3.5',
23
    'Programming Language :: Python :: 3.6',
24 25
)

26 27 28 29 30 31 32

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',
33
        'pylint-plugin-utils>=0.2.6',
34 35 36 37
    ]
else:
    _install_requires = [
        'pylint>=1.0',
38
        'pylint-plugin-utils>=0.2.5',
39 40 41
    ]


42 43 44 45 46 47 48 49
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,
50
    install_requires=_install_requires,
51 52 53 54 55
    license='GPLv2',
    classifiers=_classifiers,
    keywords='pylint stdlib plugin',
    zip_safe=False  # see https://github.com/landscapeio/prospector/issues/18#issuecomment-49857277
)