Skip to content

Commit 4ca77c7

Browse files
committed
add .readthedocs.yml
1 parent 0542e33 commit 4ca77c7

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.readthedocs.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# .readthedocs.yml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Build documentation in the docs/ directory with Sphinx
9+
sphinx:
10+
configuration: python/docs/conf.py
11+
12+
# Optionally build your docs in additional formats such as PDF and ePub
13+
formats: all
14+
15+
# Optionally set the version of Python and requirements required to build your docs
16+
python:
17+
version: 3.7
18+
install:
19+
- method: pip
20+
path: .

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,7 @@ def build_extension(self, ext):
6767
ext_modules=[CMakeExtension('cobs_index')],
6868
cmdclass=dict(build_ext=CMakeBuild),
6969
zip_safe=False,
70+
install_requires=[
71+
'cmake',
72+
],
7073
)

0 commit comments

Comments
 (0)