File tree 3 files changed +11
-4
lines changed
3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 5
5
# Required
6
6
version : 2
7
7
8
+ build :
9
+ os : " ubuntu-22.04"
10
+ tools :
11
+ python : " 3.8"
12
+ jobs :
13
+ pre_build :
14
+ - python -m setuptools_scm
15
+
8
16
# Build documentation in the docs/ directory with Sphinx
9
17
sphinx :
10
18
configuration : docs/source/conf.py
@@ -13,9 +21,9 @@ sphinx:
13
21
# Optionally build your docs in additional formats such as PDF
14
22
# formats:
15
23
# - pdf
24
+ #
16
25
17
26
# Optionally set the version of Python and requirements required to build your docs
18
27
python :
19
- version : 3.8
20
28
install :
21
29
- requirements : docs/requirements.txt
Original file line number Diff line number Diff line change
1
+ setuptools_scm
1
2
sphinx
2
3
sphinx_rtd_theme
3
4
sphinx-autodoc-typehints
Original file line number Diff line number Diff line change 4
4
5
5
from setuptools import find_packages , setup
6
6
7
-
8
7
REQUIRED_MAJOR = 3
9
8
REQUIRED_MINOR = 8
10
9
11
10
# Check for python version
12
11
if sys .version_info < (REQUIRED_MAJOR , REQUIRED_MINOR ):
13
12
error = (
14
- "Your version of python ({major}.{minor}) is too old. You need "
15
- "python >= {required_major}.{required_minor}."
13
+ "Your version of python ({major}.{minor}) is too old. You need python >= {required_major}.{required_minor}."
16
14
).format (
17
15
major = sys .version_info .major ,
18
16
minor = sys .version_info .minor ,
You can’t perform that action at this time.
0 commit comments