From 6245d0966d8dfb0fa2893c8a3e7d760c31d134d7 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Fri, 23 Dec 2016 08:28:03 -0500 Subject: [PATCH] Prefer get_distribution --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index aa34def..46d614b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -13,7 +13,7 @@ project = 'skeleton' copyright = '2016 Jason R. Coombs' # The short X.Y version. -version = pkg_resources.require(project)[0].version +version = pkg_resources.get_distribution(project).version # The full version, including alpha/beta/rc tags. release = version