mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
Merge pull request #424 from ansible/isolated_sdist_version
Fix an issue not populating the version metadata for isolated sdist
This commit is contained in:
commit
2fe5c2ac83
4
setup.py
4
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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user