Changeset 4713 for install


Ignore:
Timestamp:
Jan 4, 2021 4:08:43 PM (9 months ago)
Author:
toby
Message:

more installer work; xmgrace enhance from Carlo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • install/setversion.py

    r4710 r4713  
    6868        continue
    6969    if sys.platform == "win32" and platform.architecture()[0] != '64bit':
    70         print('changing for 32-bit windows')
    71         out = out.replace('win-64','win-32')
    72     if sys.platform.startswith("linux") and platform.architecture()[0] != '32bit':
    73         print('changing for 32-bit linux')
    74         out = out.replace('linux-64','linux-32')
     70        if 'win-64' in out:
     71            print('changing for 32-bit windows')
     72            out = out.replace('win-64','win-32')
     73    if sys.platform.startswith("linux") and platform.architecture()[0] != '64bit':
     74        if 'linux-64' in out:
     75            print('changing for 32-bit linux')
     76            out = out.replace('linux-64','linux-32')
    7577    out = out.replace('**pyversion**',pyversion)
    7678    out = out.replace('**npversion**',npversion)
Note: See TracChangeset for help on using the changeset viewer.