-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
72 lines (62 loc) · 1.25 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
from setuptools import setup
base_pkgs = [
"dash~=2.6",
"dash-bootstrap-components~=1.2",
"numpy~=1.23",
"pandas~=1.4",
]
formatter_pkgs = [
"black==22.6",
]
linter_pkgs = [
"darglint~=1.8",
"flake8~=4.0",
"flake8-annotations~=2.9",
"flake8-bandit~=3.0",
"flake8-broken-line~=0.4",
"flake8-bugbear~=22.7",
"flake8-comprehensions~=3.10",
"flake8-debugger~=4.1",
"flake8-docstrings~=1.6",
"flake8-eradicate~=1.2",
"flake8-functions~=0.0",
"flake8-print~=5.0",
"flake8-quotes~=3.3",
"flake8-string-format~=0.3",
]
notebook_pkgs = base_pkgs + [
"jupyter",
"jupyter-dash",
"jupyter-packaging",
"jupyter-server",
"matplotlib",
"seaborn",
]
test_pkgs = base_pkgs + [
"pytest",
"pytest-cov",
"pytest-mock",
]
dev_pkgs = (
test_pkgs
+ linter_pkgs
+ formatter_pkgs
+ notebook_pkgs
+ [
"pre-commit",
]
)
user_pkgs = base_pkgs + notebook_pkgs
setup(
name="flossverter",
python_requires="~=3.9",
extras_require={
"base": base_pkgs,
"dev": dev_pkgs,
"formatter": formatter_pkgs,
"linter": linter_pkgs,
"notebook": notebook_pkgs,
"test": test_pkgs,
"user": user_pkgs,
},
)