mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 15:58:45 -03:30
Fix an issue not populating the version metadata for isolated sdist
This commit is contained in:
4
setup.py
4
setup.py
@@ -60,6 +60,10 @@ class sdist_isolated(sdist):
|
|||||||
'recursive-include awx/lib *.py',
|
'recursive-include awx/lib *.py',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
def __init__(self, dist):
|
||||||
|
sdist.__init__(self, dist)
|
||||||
|
dist.metadata.version = get_version()
|
||||||
|
|
||||||
def get_file_list(self):
|
def get_file_list(self):
|
||||||
self.filelist.process_template_line('include setup.py')
|
self.filelist.process_template_line('include setup.py')
|
||||||
for line in self.includes:
|
for line in self.includes:
|
||||||
|
|||||||
Reference in New Issue
Block a user