forked from ModECI/MDF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
31 lines (28 loc) · 767 Bytes
/
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
#!/usr/bin/env python
from setuptools import setup
# Most of this packages settings are defined in setup.cfg
# FIXME: Not sure of the best way to setup extras_require from setup.cfg
extras = {
"test": [
"pytest",
"pytest-benchmark",
"pytest-mock",
"typing_extensions; python_version<'3.8'",
],
"docs": [
"Sphinx~=3.0",
"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": [],
}
extras["all"] = sum(extras.values(), [])
extras["dev"] += extras["test"]
setup(extras_require=extras)