File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 4
4
# list see the documentation:
5
5
# https://www.sphinx-doc.org/en/master/usage/configuration.html
6
6
7
- from distutils .dist import DistributionMetadata
8
- from pathlib import Path
9
-
10
- import pkg_resources
7
+ from isal import __version__
11
8
12
9
# -- Project information -----------------------------------------------------
13
10
14
11
# Get package information from the installed package.
15
- package = pkg_resources .get_distribution ("isal" )
16
- metadata_file = Path (package .egg_info ) / Path (package .PKG_INFO )
17
- metadata = DistributionMetadata (path = str (metadata_file ))
18
12
19
13
project = 'python-isal'
20
14
copyright = '2020, Leiden University Medical Center'
21
15
author = 'Leiden University Medical Center'
22
16
23
17
# The short X.Y version
24
- version = package . parsed_version . base_version
18
+ version = __version__
25
19
# The full version, including alpha/beta/rc tags
26
- release = package .version
27
-
20
+ release = __version__
28
21
29
22
# -- General configuration ---------------------------------------------------
30
23
Original file line number Diff line number Diff line change 1
1
sphinx
2
- setuptools
3
2
sphinx-rtd-theme
4
3
# See https://github.com/sphinx-doc/sphinx-argparse/issues/56
5
4
sphinx-argparse <0.5.0
You can’t perform that action at this time.
0 commit comments