Changeset 10763:907417d7e57b in orange


Ignore:
Timestamp:
04/05/12 15:22:25 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Always unlink old liborange linknot just when using –force.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r10674 r10763  
    454454        #  
    455455        liborange = os.path.join(self.install_dir, "Orange", "liborange.so") 
    456         if self.force and os.path.exists(liborange) and os.path.islink(liborange): 
     456        if os.path.exists(liborange) and os.path.islink(liborange): 
    457457            log.info("unlinking %s -> %s", liborange, os.path.join(self.install_dir, "orange.so")) 
    458458            os.unlink(liborange) 
     
    592592                      libraries=libraries 
    593593                      ) 
    594  
    595  
    596 import __builtin__ as builtins 
    597  
    598 # We are setting a global variable so that the main Orange __init__ can detect 
    599 # if it is being loaded by the setup routine, to avoid attempting to 
    600 # load components that aren't built yet. 
    601 builtins.__ORANGE_SETUP__ = True 
    602594 
    603595def get_packages(): 
Note: See TracChangeset for help on using the changeset viewer.