Total Complexity | 2 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | from setuptools import find_packages, setup |
||
2 | |||
3 | import oval_graph |
||
4 | |||
5 | |||
6 | def get_long_description(): |
||
7 | with open('README.md', encoding='utf8') as readme: |
||
8 | return readme.read() |
||
9 | |||
10 | |||
11 | setup(name='oval_graph', |
||
12 | version=oval_graph.__version__, |
||
13 | description='Tool for visualization of SCAP rule evaluation results', |
||
14 | long_description=get_long_description(), |
||
15 | long_description_content_type="text/markdown", |
||
16 | url='https://github.com/OpenSCAP/OVAL-visualization-as-graph', |
||
17 | author='Jan Rodak', |
||
18 | author_email='[email protected]', |
||
19 | license='Apache-2.0', |
||
20 | packages=find_packages(exclude=["tests_oval_graph", "tests_oval_graph.*"]), |
||
21 | install_requires=[ |
||
22 | 'lxml', |
||
23 | ], |
||
24 | include_package_data=True, |
||
25 | zip_safe=False, |
||
26 | entry_points={ |
||
27 | 'console_scripts': [ |
||
28 | 'arf-to-graph=oval_graph.command_line:arf_to_graph', |
||
29 | 'arf-to-json=oval_graph.command_line:arf_to_json', |
||
30 | 'json-to-graph=oval_graph.command_line:json_to_graph', |
||
31 | ], |
||
32 | }, |
||
33 | python_requires='>=3.6', |
||
34 | ) |
||
35 |