mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-07-17 00:59:36 +03:00
Break generator.py to be called per module
Since we don't always want to build all the modules, and there might be more modules added in the future but we want to retain backwards compatibility with older libvirts, change generator.py to be called once per module instead of with all modules at once.
This commit is contained in:
committed by
Daniel P. Berrange
parent
41562e063e
commit
3878fbd548
4
setup.py
4
setup.py
@ -100,7 +100,9 @@ class my_build(build):
|
||||
def run(self):
|
||||
apis = self.get_api_xml_files()
|
||||
|
||||
self.spawn(["python", "generator.py", apis[0], apis[1], apis[2]])
|
||||
self.spawn(["python", "generator.py", "libvirt", apis[0]])
|
||||
self.spawn(["python", "generator.py", "libvirt-qemu", apis[1]])
|
||||
self.spawn(["python", "generator.py", "libvirt-lxc", apis[2]])
|
||||
|
||||
build.run(self)
|
||||
|
||||
|
Reference in New Issue
Block a user