Commits

Aleš Erjavec committed df207ee

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

Comments (0)

Files changed (2)

 # multi-threaded blas (or 'goto_blas', 'atlas' etc.)
 #
 #  Currently you still have to set the search paths (for both
-# libraries and header files) using the CFLAGS, CXXFLAGS and 
+# libraries and header files) using the CFLAGS, CPPFLAGS and 
 # LDFLAGS env. variables for compiler and linker to find your
 # library (if not on the default search path). Support for 
 # configuring them through this file is planned. 
+#
+#  If building and installing with an automated package manager
+# (easy_install or pip) setup.py will also read '~/.orange-site.cfg'
+# file for configuration options.
 
 [GLOBALS]
 
 
 import ConfigParser
 config = ConfigParser.RawConfigParser()
-config.read("setup-site.cfg")
+
+config.read(["setup-site.cfg",
+             os.path.expanduser("~/.orange-site.cfg")]
+            )
 
 orange_sources = get_source_files("source/orange/")
 orange_include_dirs = list(include_dirs)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.