src.pyconf.streamOpener = ConfigOpener([
osJoin(cfg.VARS.srcDir, 'internal_config')])
try:
- internal_cfg = src.pyconf.Config(open( osJoin(cfg.VARS.srcDir,
- 'internal_config', 'salomeTools.pyconf')))
+ if src.architecture.is_windows(): # special internal config for windows
+ internal_cfg = src.pyconf.Config(open( osJoin(cfg.VARS.srcDir,
+ 'internal_config', 'salomeTools_win.pyconf')))
+ else:
+ internal_cfg = src.pyconf.Config(open( osJoin(cfg.VARS.srcDir,
+ 'internal_config', 'salomeTools.pyconf')))
except src.pyconf.ConfigError as e:
raise src.SatException(_("Error in configuration file:"
" salomeTools.pyconf\n %(error)s") % \
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+INTERNAL :
+{
+ sat_version : "5.3.0"
+ config :
+ {
+ copy_prefix : "LOCAL_"
+ install_dir : "W64"
+ binary_dir : "BIN-"
+ single_install_dir : "EXT"
+ }
+ log :
+ {
+ not_shown_commands : ["log"]
+ }
+ command :
+ {
+ pip_download : "python -m pip download --disable-pip-version-check"
+ pip_install : "python -m pip install --disable-pip-version-check --no-index"
+ }
+}
+PRODUCTS :
+{
+}