Changeset 8045:8fc8353d9d22 in orange


Ignore:
Timestamp:
06/30/11 16:16:30 (3 years ago)
Author:
markotoplak
Branch:
default
Convert:
c5e9e454661282d40f84924a5000451a05fd1a3c
Message:

orngConfiguration now uses Orange.misc.environ.dataset_install_dir, so set it with orangerc.cfg. References #557.

Location:
orange
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/misc/environ.py

    r8044 r8045  
    5555 
    5656`doc_install_dir`: 
    57     Directory where Orange documentation 
    58      
     57    Directory with Orange documentation. 
     58  
     59`dataset_install_dir`: 
     60    Directory with example data sets. 
     61 
    5962`add_ons_dir`: 
    6063    Directory where system-wide add-ons are installed  
     
    128131 
    129132    doc_install_dir = os.path.join(install_dir, "doc")  
     133    dataset_install_dir = os.path.join(install_dir, "doc", "datasets")  
    130134 
    131135    canvas_install_dir = os.path.join(install_dir, "OrangeCanvas") 
     
    171175_ALL_DIR_OPTIONS = ["install_dir", "canvas_install_dir", 
    172176                    "widget_install_dir", "icons_install_dir", 
    173                     "doc_install_dir", "add_ons_dir", "add_ons_dir_user", 
     177                    "doc_install_dir", "dataset_install_dir", "add_ons_dir", "add_ons_dir_user", 
    174178                    "application_dir", "output_dir", "default_reports_dir", 
    175179                    "orange_settings_dir", "canvas_settings_dir", 
  • orange/orngConfiguration.py

    r7354 r8045  
    1 # datasetsPath = "/path/to/datasets/" 
     1import Orange.misc.environ 
     2datasetsPath = Orange.misc.environ.dataset_install_dir 
Note: See TracChangeset for help on using the changeset viewer.