File: setup.py

package info (click to toggle)
pylama 8.4.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 328 kB
  • sloc: python: 1,494; makefile: 11; sh: 1
file content (36 lines) | stat: -rw-r--r-- 791 bytes parent folder | download
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
#!/usr/bin/env python

"""Setup pylama installation."""

import pathlib

from setuptools import setup

OPTIONAL_LINTERS = ['pylint', 'eradicate', 'radon', 'mypy', 'vulture']


setup(
    install_requires=[
        'mccabe>=0.7.0',
        'pycodestyle>=2.9.1',
        'pydocstyle>=6.1.1',
        'pyflakes>=2.5.0'
    ],
    extras_require=dict(
        tests=[
            'pytest>=7.1.2',
            'pytest-mypy',
            'eradicate>=2.0.0',
            'radon>=5.1.0',
            'mypy',
            'pylint>=2.11.1',
            'pylama-quotes',
            'toml',
            'vulture',
            'types-setuptools',
            'types-toml'
        ],
        all=OPTIONAL_LINTERS, **{linter: [linter] for linter in OPTIONAL_LINTERS},
        toml="toml>=0.10.2",
    ),
)