Changeset 4239 for install/setversion.py


Ignore:
Timestamp:
Jan 9, 2020 2:29:00 PM (2 years ago)
Author:
toby
Message:

fix multi-image use in scripts; work on 32-bit windows build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • install/setversion.py

    r3912 r4239  
     1import sys
     2import platform
    13import subprocess
    24
     
    3941    fp = open(fil+'.template','r')
    4042    out = fp.read().replace('**Version**',version)
     43    if sys.platform == "win32" and platform.architecture()[0] != '64bit':
     44        print('changing for 32-bit windows'
     45        out = out.replace('win-64','win-32')
    4146    fp.close()
    4247    print('Creating',fil)
Note: See TracChangeset for help on using the changeset viewer.