-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.cfg
155 lines (139 loc) · 3.37 KB
/
setup.cfg
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
[metadata]
name = modelspec
version = attr: modelspec.__version__
description = A common JSON/YAML based format for compact model specification
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/ModECI/modelspec
author = ModECI contributors
author_email = [email protected]
maintainer = Padraig Gleeson, David Turner
maintainer_email = [email protected]
license = LGPLv3
license_files = LICENSE
classifiers =
Intended Audience :: Science/Research
License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Natural Language :: English
Operating System :: OS Independent
Topic :: Scientific/Engineering
Intended Audience :: Science/Research
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Scientific/Engineering
Topic :: Software Development
Typing :: Typed
[options]
packages = find:
install_requires =
pyyaml
pymongo
numpy
tabulate
attrs
cattrs>=23.2.3 # Issue with JSON serialisation in some versions, see https://github.com/ModECI/modelspec/issues/66
docstring-parser
typing_extensions;python_version<'3.8'
typing_compat;python_version<'3.8'
python_requires = >=3.7
include_package_data = True
package_dir =
=src
[options.packages.find]
where = src
exclude =
tests
examples
[options.package_data]
nml_files = src/modeci_mdf/export/*xml
[options.extras_require]
test =
pytest
pytest-benchmark
pytest-mock
typing_extensions; python_version<'3.8'
docs =
pandas
requests
Sphinx
recommonmark>=0.5.0
nbsphinx
sphinx_copybutton
sphinx-rtd-theme
myst_parser
sphinx_markdown_tables
sphinx-autoapi
pytorch-sphinx-theme==0.0.19
sphinxcontrib-versioning
dev =
flake8
pyneuroml>=0.7.2
NeuroMLlite>=0.5.3
python-libsbml
modelspec[test]
pre-commit
all =
modelspec[test]
modelspec[docs]
modelspec[dev]
[tool:pytest]
junit_family = xunit2
addopts = --benchmark-disable -Wd --strict-markers
xfail_strict = True
testpaths =
tests
required_plugins =
pytest-benchmark
[tool:isort]
profile = black
multi_line_output = 3
[flake8]
max-line-length = 80
max-complexity = 13
select = C, E, F, W, B, B9, T
ignore = E203, E231, E501, E722, W503, B950
per-file-ignores =
tests/*: T
examples/*: T
notebooks/*: T
docs/*: T
scripts/*: T
setup.py: T
setup_helpers.py: C901
[mypy]
warn_unused_configs = True
python_version = 3.6
files = src
disallow_any_generics = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
no_implicit_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_return_any = True
no_implicit_reexport = True
strict_equality = True
[check-manifest]
ignore =
.all-contributorsrc
.pre-commit-config.yaml
.readthedocs.yml
examples/**
notebooks/**
docs/**
scripts/**
dev-requirements.txt
CONTRIBUTING.md
*.html
src/modeci_mdf/version.py
tests/.pytest_cache/**