Fix an issue not populating the version metadata for isolated sdist

This commit is contained in:
Matthew Jones 2017-09-18 10:51:56 -04:00
parent 6a9bfa74c4
commit 0ee3b0e59b
No known key found for this signature in database
GPG Key ID: 76A4C17A97590C1C

View File

@ -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: