* fix: support docs/tests extras, simpler RtD install Use oldest-supported-numpy from SciPy in example * chore: bump to ubuntu-20.04 images * fix: move extras to setup so we can do combinations
32 lines
591 B
Python
32 lines
591 B
Python
from setuptools import setup
|
|
|
|
extras = {
|
|
"docs": [
|
|
"mkdocs-include-markdown-plugin==2.1.1",
|
|
"mkdocs==1.0.4",
|
|
"pymdown-extensions",
|
|
],
|
|
"test": [
|
|
"jinja2",
|
|
"pytest>=4",
|
|
"pytest-timeout",
|
|
],
|
|
"dev": [
|
|
"click",
|
|
"ghapi",
|
|
"mypy>=0.800",
|
|
"packaging>=20.8",
|
|
"pip-tools",
|
|
"pygithub",
|
|
"pyyaml",
|
|
"requests",
|
|
"rich>=9.6",
|
|
"typing-extensions",
|
|
],
|
|
}
|
|
|
|
extras["all"] = sum(extras.values(), [])
|
|
extras["dev"] += extras["test"]
|
|
|
|
setup(extras_require=extras)
|