source: orange/orange/orngEnviron.py @ 8042:ffcb93bc9028

Revision 8042:ffcb93bc9028, 856 bytes checked in by markotoplak, 3 years ago (diff)

Hierarchical clustering: also catch RuntimeError when importing matplotlib (or the documentation could not be built on server).

Line 
1import Orange.misc.environ as environ
2
3directoryNames = dict(
4    orangeDir = environ.install_dir,
5    orangeDocDir = environ.doc_install_dir,
6    orangeVer = environ.version,
7    canvasDir = environ.canvas_install_dir,
8    widgetDir = environ.widget_install_dir,
9    picsDir = environ.icons_install_dir,
10    addOnsDirSys = environ.add_ons_dir,
11    addOnsDirUser = environ.add_ons_dir_user,
12    applicationDir = environ.application_dir,
13    outputDir = environ.output_dir,
14    defaultReportsDir = environ.default_reports_dir,
15    orangeSettingsDir = environ.orange_settings_dir,
16    widgetSettingsDir = environ.widget_settings_dir,
17    canvasSettingsDir = environ.canvas_settings_dir,
18    bufferDir = environ.buffer_dir
19    )
20globals().update(directoryNames)
21
22samepath = environ.samepath
23addOrangeDirectoriesToPath = environ.add_orange_directories_to_path
Note: See TracBrowser for help on using the repository browser.