Differences
This shows you the differences between two versions of the page.
python:config [2015/07/28 10:06] n.durand |
python:config [2022/10/24 15:23] (current) b.basic [Tools for the configuration of the TELEMAC-MASCARET system : config.py] |
||
---|---|---|---|
Line 3: | Line 3: | ||
\\ | \\ | ||
- | ===== Tools for the configuration of the TELEMAC system : config.py ===== | + | ===== Tools for the configuration of the TELEMAC-MASCARET system : config.py ===== |
- | config.py, with no other argument, returns the TELEMAC version and SVN revision number of the TELEMAC system included in the path. If the system path has not been updated to include the TELEMAC system, config.py will return the version and revision number of the local system where config.py was started. | + | config.py, with no other argument, returns the version of the TELEMAC-MASCARET system found in the PATH. If the system PATH has not been updated to include the TELEMAC-MASCARET system, config.py will return the version and revision number of the local system where config.py was started. |
\\ | \\ | ||
- | config.py also lists the different configurations defined in ./configs/systel.cfg (which is the default location and name of the configuration file) unless a different configuration file is defined in the environment variable SYSTELCFG. For each configuration, the TELEMAC system path and the modules available under that configuration are given (remember that not all modules need to be compiled if not in use). | + | config.py also lists the different configurations defined in ./configs/systel.cfg (which is the default location and name of the configuration file) unless a different configuration file is defined in the environment variable SYSTELCFG. For each configuration, the TELEMAC-MASCARET system path and the modules available under that configuration are given (remember that not all modules need to be compiled if not in use). |
\\ | \\ | ||
Line 35: | Line 35: | ||
\\ | \\ | ||
- | ''--'' clean removes the directories created under the TELEMAC system path in relation to the configuration given in argument. | + | ''--''clean removes the directories created under the TELEMAC system path in relation to the configuration given in argument. |
\\ | \\ |