Changeset 3678 for trunk/makeBat.py


Ignore:
Timestamp:
Oct 17, 2018 12:55:52 PM (5 years ago)
Author:
toby
Message:

add activate to windows bat file updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/makeBat.py

    r3677 r3678  
    6262    fp.write("@REM created by run of bootstrap.py on {:%d %b %Y %H:%M}\n".format(
    6363        datetime.datetime.now()))
    64     activate = "call "+os.path.join(os.path.split(pythonexe)[0],'Scripts','activate')+'\n'
     64    activate = "call "+os.path.join(os.path.split(gsas2path)[0],'Scripts','activate')
     65    print(activate)
    6566    if os.path.exists(activate):
    6667        print('adding activate to .bat file')
     68        activate = os.path.realpath(activate) + '\n'
    6769    else:
    6870        print('activate not found')
Note: See TracChangeset for help on using the changeset viewer.