From 0ee3b0e59bf1dc1a8089d4d678d49136cbd8d2a6 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Mon, 18 Sep 2017 10:51:56 -0400 Subject: [PATCH] Fix an issue not populating the version metadata for isolated sdist --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index 448491fa83..a42d80b2d8 100755 --- a/setup.py +++ b/setup.py @@ -60,6 +60,10 @@ class sdist_isolated(sdist): 'recursive-include awx/lib *.py', ] + def __init__(self, dist): + sdist.__init__(self, dist) + dist.metadata.version = get_version() + def get_file_list(self): self.filelist.process_template_line('include setup.py') for line in self.includes: