settings submodule¶
Module is containing all necessary global variables for the package.
Module also has the ability to read user-defined data from two paths:
$HOME/_SETTINGS_PATH/etc/_SETTINGS_PATH
See _SETTINGS_PATH for details.
Note
If the first path is found, other is ignored.
Example of the configuration file ($HOME/edeposit/ltp.json):
{
"EXPORT_DIR": "/somedir/somewhere"
}
Attributes¶
-
ltp.settings.TEMP_DIR= '/tmp'¶ Path to the temporary directory, where the packages are built.
-
ltp.settings.EXPORT_DIR= '/home/ltp/edep2ltp'¶ Path to the directory for LTP export.
-
ltp.settings.IMPORT_DIR= '/home/ltp/ltp2edep'¶ Path to the directory for LTP import.
-
ltp.settings.EXPORT_PREFIX= 'complete_'¶ Prefix to the export directory.