Skip to content

Commit 75873f4

Browse files
authored
Merge pull request #463 from sanjayankur31/feat/move-extras-to-setupcfg
feat: move extras to setup.cfg
2 parents 4384f88 + c74530b commit 75873f4

File tree

2 files changed

+47
-41
lines changed

2 files changed

+47
-41
lines changed

setup.cfg

+47-1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,53 @@ include_package_data = True
5353
package_dir =
5454
=src
5555

56+
[options.extras_require]
57+
psyneulink =
58+
grpcio-tools==1.42.0
59+
psyneulink
60+
61+
neuroml =
62+
pyNeuroML>=0.5.20
63+
neuromllite>=0.5.2
64+
65+
66+
tensorflow =
67+
tensorflow
68+
keras_visualizer
69+
pydot
70+
71+
test =
72+
pytest
73+
pytest-benchmark
74+
pytest-mock
75+
typing_extensions;python_version<'3.8'
76+
77+
optional =
78+
Sphinx~=3.0
79+
recommonmark>=0.5.0
80+
nbsphinx
81+
sphinx_copybutton
82+
sphinx-rtd-theme
83+
myst_parser
84+
sphinx_markdown_tables
85+
sphinx-autoapi
86+
pytorch-sphinx-theme==0.0.19
87+
sphinxcontrib-versioning
88+
Jinja2<3.1
89+
torchviz
90+
netron
91+
torch>=1.11.0
92+
torchvision<=0.12.0
93+
h5py
94+
95+
all =
96+
modeci-mdf[optional]
97+
modeci-mdf[neuroml]
98+
modeci-mdf[psyneulink]
99+
modeci-mdf[tensorflow]
100+
101+
dev =
102+
modeci-mdf[test]
56103

57104
[options.packages.find]
58105
where = src
@@ -88,7 +135,6 @@ per-file-ignores =
88135
notebooks/*: T
89136
docs/*: T
90137
scripts/*: T
91-
setup.py: T
92138
setup_helpers.py: C901
93139

94140
[mypy]

setup.py

-40
This file was deleted.

0 commit comments

Comments
 (0)