-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (42 loc) · 1.08 KB
/
setup.py
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
"""Setup for the dir-content-diff package."""
# LICENSE HEADER MANAGED BY add-license-header
# Copyright (c) 2023-2024 Blue Brain Project, EPFL.
#
# This file is part of dir-content-diff.
# See https://github.com/BlueBrain/dir-content-diff for further info.
#
# SPDX-License-Identifier: Apache-2.0
# LICENSE HEADER MANAGED BY add-license-header
import json
from pathlib import Path
from setuptools import setup
doc_reqs = [
"myst_parser",
"sphinx",
"sphinx-bluebrain-theme",
]
# Requirements for custom comparators
with (
Path(__file__).parent / "dir_content_diff" / "comparators" / "dependencies.json"
).open() as f:
all_comparators = json.load(f)
# Requirements for tests
test_reqs = [
"dicttoxml>=1.7.16",
"matplotlib>=3.4",
"rst2pdf>=0.99",
"pandas>=1.4",
"pytest>=6.2",
"pytest-click>=1.1",
"pytest-console-scripts>=1.4",
"pytest-cov>=4.1",
"pytest-html>=3.2",
]
setup(
extras_require={
"all_comparators": list(all_comparators.values()),
"docs": doc_reqs,
"test": test_reqs,
**all_comparators,
},
)