Skip to content

Commit 8a122e6

Browse files
Set extra_require keyword for setup.py
Two variants are provided: "docs" and "coverage".
1 parent 450b436 commit 8a122e6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

setup.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,17 @@ def _patched_copy_file(src_file, dest_file, hide_listing=True):
9797
install_requires=[
9898
"numpy",
9999
],
100+
extra_require={
101+
"docs": [
102+
"Cython",
103+
"sphinx",
104+
"sphinx_rtd_theme",
105+
"pydot",
106+
"graphviz",
107+
"sphinxcontrib-programoutput",
108+
],
109+
"coverage": ["Cython", "pytest", "pytest-cov", "coverage", "tomli"],
110+
},
100111
keywords="dpctl",
101112
classifiers=[
102113
"Development Status :: 3 - Alpha",

0 commit comments

Comments
 (0)