File tree 1 file changed +1
-16
lines changed
1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 8
8
9
9
import sys
10
10
from pathlib import Path
11
- from pkg_resources import get_distribution
12
11
13
12
# -- Path Setup --------------------------------------------------------------
14
13
24
23
# -- Project information -----------------------------------------------------
25
24
26
25
project = "IDOM"
27
- copyright = "2019 , Ryan Morshead"
26
+ copyright = "2020 , Ryan Morshead"
28
27
author = "Ryan Morshead"
29
28
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
-
44
29
# -- General configuration ---------------------------------------------------
45
30
46
31
# If your documentatirston needs a minimal Sphinx version, state it here.
You can’t perform that action at this time.
0 commit comments