Changes in sasmodels/kerneldll.py [3764ec1:b01a603] in sasmodels


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kerneldll.py

    r3764ec1 rb01a603  
    241241    if not os.path.exists(dll): 
    242242        need_recompile = True 
    243     elif getattr(sys, 'frozen', None) is not None: 
    244         # TODO: don't suppress time stamp 
    245         # Currently suppressing recompile when running in a frozen environment 
    246         need_recompile = False 
     243    #elif getattr(sys, 'frozen', None) is not None: 
     244    #    # TODO: don't suppress time stamp 
     245    #    # Currently suppressing recompile when running in a frozen environment 
     246    #    need_recompile = False 
    247247    else: 
    248248        dll_time = os.path.getmtime(dll) 
     
    259259        # Note: if there is a syntax error then compile raises an error 
    260260        # and the source file will not be deleted. 
    261         os.unlink(filename) 
    262         #print("saving compiled file in %r"%filename) 
     261        #os.unlink(filename) 
     262        print("saving compiled file in %r"%filename) 
    263263    return dll 
    264264 
     
    301301    def _load_dll(self): 
    302302        # type: () -> None 
    303         #print("dll", self.dllpath) 
     303        print("dll", self.dllpath) 
    304304        try: 
    305305            self._dll = ct.CDLL(self.dllpath) 
Note: See TracChangeset for help on using the changeset viewer.