Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Commit 8a38357

Browse files
committed
added cython to docs install requirements
1 parent c35b5bb commit 8a38357

File tree

2 files changed

+22
-12
lines changed

2 files changed

+22
-12
lines changed

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
-e .
1+
-e .[docs]

setup.py

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,25 @@
1212
extra_compile_args = ['-O3']
1313
extra_link_args = []
1414

15+
16+
install_requires = [
17+
'meshio',
18+
'numpy',
19+
'pyopencl',
20+
'scipy',
21+
'tqdm',
22+
'h5py',
23+
'sklearn',
24+
'tqdm',
25+
'sphinx_rtd_theme'
26+
]
27+
28+
29+
docs_extras = [
30+
'cython',
31+
]
32+
33+
1534
ext_modules = [
1635
Extension(
1736
"peripy.create_crack",
@@ -55,15 +74,6 @@
5574
'console_scripts': ['peripy=peripy.cli:main']
5675
},
5776
ext_modules=cythonize(ext_modules),
58-
install_requires=[
59-
'meshio',
60-
'numpy',
61-
'pyopencl',
62-
'scipy',
63-
'tqdm',
64-
'h5py',
65-
'sklearn',
66-
'tqdm',
67-
'sphinx_rtd_theme'
68-
]
77+
install_requires=install_requires,
78+
extras_require={'docs': docs_extras}
6979
)

0 commit comments

Comments
 (0)