Changeset 10433:510c2b571117 in orange for setup.py


Ignore:
Timestamp:
03/05/12 10:16:49 (2 years ago)
Author:
anzeh <anze.staric@…>
Branch:
default
Message:

Fixed a bug when setup.py crashed if .hg was missing.
(fix inspired by numpy)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r10424 r10433  
    592592                      libraries=libraries 
    593593                      ) 
    594      
     594 
     595 
     596import __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. 
     601builtins.__ORANGE_SETUP__ = True 
    595602 
    596603def get_packages(): 
Note: See TracChangeset for help on using the changeset viewer.