File tree 2 files changed +5
-12
lines changed
2 files changed +5
-12
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
+ import zlib_ng
11
8
12
9
# -- Project information -----------------------------------------------------
13
10
14
- # Get package information from the installed package.
15
- package = pkg_resources .get_distribution ("zlib-ng" )
16
- metadata_file = Path (package .egg_info ) / Path (package .PKG_INFO )
17
- metadata = DistributionMetadata (path = str (metadata_file ))
18
-
19
11
project = 'python-zlib-ng'
20
12
copyright = '2023, Leiden University Medical Center'
21
13
author = 'Leiden University Medical Center'
22
14
15
+
23
16
# The short X.Y version
24
- version = package . parsed_version . base_version
17
+ version = zlib_ng . __version__
25
18
# The full version, including alpha/beta/rc tags
26
- release = package . version
19
+ release = zlib_ng . __version__
27
20
28
21
29
22
# -- General configuration ---------------------------------------------------
Original file line number Diff line number Diff line change 1
1
sphinx
2
2
setuptools
3
- sphinx-rtd-theme>=1.2.0rc3,<1.3
3
+ sphinx-rtd-theme
4
4
sphinx-argparse
You can’t perform that action at this time.
0 commit comments