Changeset 10250:df207ee68f10 in orange


Ignore:
Timestamp:
02/15/12 13:48:58 (2 years ago)
Author:
ales_erjavec
Branch:
default
Message:

Also read ~/.orange-site.cfg file for configuration of 3rd party libraries.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • setup-site.cfg

    r9571 r10250  
    2424# 
    2525#  Currently you still have to set the search paths (for both 
    26 # libraries and header files) using the CFLAGS, CXXFLAGS and  
     26# libraries and header files) using the CFLAGS, CPPFLAGS and  
    2727# LDFLAGS env. variables for compiler and linker to find your 
    2828# library (if not on the default search path). Support for  
    2929# configuring them through this file is planned.  
     30# 
     31#  If building and installing with an automated package manager 
     32# (easy_install or pip) setup.py will also read '~/.orange-site.cfg' 
     33# file for configuration options. 
    3034 
    3135[GLOBALS] 
  • setup.py

    r10134 r10250  
    427427import ConfigParser 
    428428config = ConfigParser.RawConfigParser() 
    429 config.read("setup-site.cfg") 
     429 
     430config.read(["setup-site.cfg", 
     431             os.path.expanduser("~/.orange-site.cfg")] 
     432            ) 
    430433 
    431434orange_sources = get_source_files("source/orange/") 
Note: See TracChangeset for help on using the changeset viewer.