Changes in / [b1281d8:3c505e6] in sasmodels


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kerneldll.py

    rff97458 r3ecf034  
    9292# Windows-specific solution 
    9393if os.name == 'nt': 
    94     # Assume the default location of module DLLs is in top level /models dir. 
    95     # Relying on the Windows installer placing target items in the right place 
    96     DLL_PATH = os.path.join(os.path.split(os.path.realpath(sys.argv[0]))[0], "models") 
     94    # Assume the default location of module DLLs is in .sasmodels/compiled_models. 
     95    DLL_PATH = os.path.join(os.path.expanduser("~"), ".sasmodels", "compiled_models") 
     96    if not os.path.exists(DLL_PATH): 
     97        os.makedirs(DLL_PATH) 
    9798else: 
    9899    # Set up the default path for compiled modules. 
Note: See TracChangeset for help on using the changeset viewer.