From 755e34af7e2e259a2e25853d042ffa84414dcce3 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Thu, 11 Apr 2019 23:55:01 -0700 Subject: Don't play with _privates --- setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index cd89ac1e1..9dcde2f44 100644 --- a/setup.py +++ b/setup.py @@ -54,9 +54,7 @@ docs_extras = [ testing_extras = tests_require + ['coverage', 'nose'] -major_version = ".".join( - str(v) for v in parse_version(VERSION)._version.release[:2] -) +major_version = ".".join(VERSION.split(".")[:2]) # black is refusing to make anything under 80 chars so just splitting it up docs_fmt = 'https://docs.pylonsproject.org/projects/pyramid/en/{}-branch/' -- cgit v1.2.3