File tree 4 files changed +9
-3
lines changed
4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 54
54
# built documents.
55
55
#
56
56
# The short X.Y version.
57
- version = open ("../../VERSION" ).read ().strip ()
57
+ import tomli
58
+ with open ("../../pyproject.toml" , "rb" ) as f :
59
+ toml_dict = tomli .load (f )
60
+ version = toml_dict ['project' ]['version' ]
58
61
# The full version, including alpha/beta/rc tags.
59
62
release = version
60
63
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "mesonpy"
4
4
5
5
[project ]
6
6
name = " cysignals"
7
- version = " 1.12.2 "
7
+ version = " 1.12.3 "
8
8
description = " Interrupt and signal handling for Cython"
9
9
license = { file = " LICENSE" }
10
10
readme = { file = " README.rst" , content-type = " text/x-rst" }
Original file line number Diff line number Diff line change
1
+ version : 2
1
2
conda :
2
3
file : readthedocs-conda.yml
3
4
python :
4
- version : 2.7
5
+ version : " 3.11 "
5
6
pip_install : true
7
+
Original file line number Diff line number Diff line change 4
4
Cython
5
5
Sphinx
6
6
flake8
7
+ tomli
7
8
pytest >= 8.0.0
You can’t perform that action at this time.
0 commit comments