Replace old sdist and wheel build command in validate
The new way of packaging a python project is via build package. This patch replaces the old setup.py style sdist and wheel build. Change-Id: Ia351d099aa3b2491e3a4d255d87bb7c6bd691cac
This commit is contained in:
parent
10bd93e6bc
commit
97baab754f
@ -94,7 +94,7 @@ def build_sdist(workdir, repo):
|
||||
'SKIP_GENERATE_AUTHORS': '1',
|
||||
'SKIP_WRITE_GIT_CHANGELOG': '1',
|
||||
}
|
||||
cmd = [python, 'setup.py', 'sdist', 'bdist_wheel']
|
||||
cmd = [python, '-m', 'build' '--sdist', '--wheel']
|
||||
processutils.check_call(
|
||||
cmd,
|
||||
cwd=dest,
|
||||
|
@ -8,6 +8,7 @@
|
||||
# #
|
||||
######################################################################
|
||||
|
||||
build>=0.7.0
|
||||
pbr>=1.6
|
||||
keyring>=7.3
|
||||
requests>=2.5.2
|
||||
|
Loading…
Reference in New Issue
Block a user