File: setup.py

package info (click to toggle)
flake8-pytest 1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 88 kB
  • sloc: python: 84; makefile: 6
file content (51 lines) | stat: -rw-r--r-- 1,527 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
from __future__ import with_statement
from setuptools import setup


def get_version(fname='flake8_pytest.py'):
    with open(fname) as f:
        for line in f:
            if line.startswith('__version__'):
                return eval(line.split('=')[-1])


def get_long_description():
    descr = []
    for fname in ('README.rst',):
        with open(fname) as f:
            descr.append(f.read())
    return '\n\n'.join(descr)

install_requires = ['flake8']

setup(
    name='flake8-pytest',
    version=get_version(),
    description="pytest assert checker plugin for flake8",
    long_description=get_long_description(),
    keywords='flake8 pytest',
    author='VikingCo NV',
    author_email='technology@vikingco.com',
    url='https://github.com/vikingco/flake8-pytest',
    license='MIT',
    py_modules=['flake8_pytest'],
    zip_safe=False,
    entry_points={
        'flake8.extension': [
            'T = flake8_pytest:PytestAssertChecker',
        ],
    },
    install_requires=install_requires,
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Software Development :: Quality Assurance',
    ],
)