File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 88
99import sys
1010from pathlib import Path
11- from pkg_resources import get_distribution
1211
1312# -- Path Setup --------------------------------------------------------------
1413
2423# -- Project information -----------------------------------------------------
2524
2625project = "IDOM"
27- copyright = "2019 , Ryan Morshead"
26+ copyright = "2020 , Ryan Morshead"
2827author = "Ryan Morshead"
2928
30- dist = get_distribution ("idom" )
31- release = get_distribution ("idom" ).version .split ("+" )[0 ]
32-
33- # Hack because setuptools_scm doesn't play nice with github actions
34- # dev0 indicates we're zero distance away from the last release
35- # but setuptools_scm still seems to think we're developing. This
36- # we need to remedy this misunderstanding.
37- if release .endswith (".dev0" ):
38- major , minor , patch , * _ = release .split ("." )
39- release = f"{ major } .{ minor } .{ int (patch ) - 1 } "
40-
41- # for example take major/minor
42- version = "." .join (release .split ("." )[:2 ])
43-
4429# -- General configuration ---------------------------------------------------
4530
4631# If your documentatirston needs a minimal Sphinx version, state it here.
You can’t perform that action at this time.
0 commit comments