Changeset 4741 for trunk


Ignore:
Timestamp:
Jan 7, 2021 6:06:12 PM (10 months ago)
Author:
toby
Message:

deal with install python not matching target system

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpath.py

    r4740 r4741  
    751751    return updatecount,modcount,locked
    752752
    753 def GetBinaryPrefix():
     753def GetBinaryPrefix(pyver=None):
    754754    if sys.platform == "win32":
    755755        prefix = 'win'
     
    767767
    768768    # format current python version
    769     pyver = 'p{}.{}'.format(*sys.version_info[0:2])
     769    if pyver:
     770        pyver = 'p'+pyver
     771    else:
     772        pyver = 'p{}.{}'.format(*sys.version_info[0:2])
    770773
    771774    items = [prefix,bits,pyver]
Note: See TracChangeset for help on using the changeset viewer.