setup   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 35
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 24
dl 0
loc 35
rs 10
c 0
b 0
f 0
wmc 2

1 Function

Rating   Name   Duplication   Size   Complexity  
A get_long_description() 0 3 2
1
# Copyright 2022, Red Hat, Inc.
2
# SPDX-License-Identifier: LGPL-2.1-or-later
3
4
# pylint: disable=import-error
5
from setuptools import find_packages, setup
6
7
8
def get_long_description():
9
    with open("README.md", "r", encoding="utf-8") as readme_file:
10
        return readme_file.read()
11
12
13
setup(name='openscap-report',
14
      version='0.2.9',
15
      description='Tool for generating report from results of oscap scan.',
16
      long_description=get_long_description(),
17
      long_description_content_type="text/markdown",
18
      url='https://github.com/OpenSCAP/oscap-report',
19
      author='Jan Rodak',
20
      author_email='[email protected]',
21
      license='LGPL-2.1 License',
22
      packages=find_packages(),
23
      install_requires=[
24
          "lxml",
25
          "jinja2"
26
      ],
27
      include_package_data=True,
28
      zip_safe=False,
29
      entry_points={
30
          'console_scripts': [
31
              'oscap-report=openscap_report.cli:main',
32
          ],
33
      },
34
      python_requires='>=3.6',
35
      )
36