File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed
Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 44# list see the documentation:
55# https://www.sphinx-doc.org/en/master/usage/configuration.html
66
7- from distutils .dist import DistributionMetadata
8- from pathlib import Path
9-
10- import pkg_resources
7+ import zlib_ng
118
129# -- Project information -----------------------------------------------------
1310
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-
1911project = 'python-zlib-ng'
2012copyright = '2023, Leiden University Medical Center'
2113author = 'Leiden University Medical Center'
2214
15+
2316# The short X.Y version
24- version = package . parsed_version . base_version
17+ version = zlib_ng . __version__
2518# The full version, including alpha/beta/rc tags
26- release = package . version
19+ release = zlib_ng . __version__
2720
2821
2922# -- General configuration ---------------------------------------------------
Original file line number Diff line number Diff line change 11sphinx
22setuptools
3- sphinx-rtd-theme>=1.2.0rc3,<1.3
3+ sphinx-rtd-theme
44sphinx-argparse
You can’t perform that action at this time.
0 commit comments