diff --git a/docs/conf.py b/docs/conf.py index d5dad7b..5a61e9f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -13,18 +13,17 @@ # import os # import sys # sys.path.insert(0, os.path.abspath('.')) -import sys -import recline - +from datetime import datetime +import importlib_metadata # -- Project information ----------------------------------------------------- project = 'recline' -copyright = '2020, NetApp' author = 'NetApp' +copyright = '%s, %s' % (datetime.now().year, author) # The full version, including alpha/beta/rc tags -# release = recline.__version__ +release = importlib_metadata.version('recline') # -- General configuration --------------------------------------------------- diff --git a/docs/index.rst b/docs/index.rst index 10e6f53..61c0738 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,5 +1,5 @@ Recline: A Documentation First CLI Library -========================================= +========================================== Writing argparse-based command line applications can become tedious, repetitive, and clichéd. Let this library free you from that burden. diff --git a/pyproject.toml b/pyproject.toml index a49fa3a..e14a869 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "recline" -version = "2020.5rc1" +version = "2020.5" description = "Writing argparse-based command line applications can become tedious, repetitive, and difficult to do right. Relax and let this library free you from that burden." license = "BSD-3-Clause" authors = ["NetApp "]