Use version value instead of hardocding it

master
Daniel Berteaud 6 years ago
parent b0860bd753
commit 1f9c166457
  1. 2
      setup.py

@ -6,4 +6,4 @@ uninstallkey = []
def install(): def install():
print('Installing Spice Guest Tools') print('Installing Spice Guest Tools')
version = control['version'].split('-',1)[0] version = control['version'].split('-',1)[0]
install_exe_if_needed('spice-guest-tools-%s.exe' % version, silentflags='/S', key='SpiceGuestTools', min_version='0.141') install_exe_if_needed('spice-guest-tools-%s.exe' % version, silentflags='/S', key='SpiceGuestTools', min_version=version)

Loading…
Cancel
Save