Dependency and version management.#
dependencies#
Simtools dependencies version management.
This modules provides two main functionalities:
retrieve the versions of simtools dependencies (e.g., databases, sim_telarray, CORSIKA)
provide space for future implementations of version management
- dependencies.get_build_options()[source]#
Return CORSIKA / sim_telarray build options.
Expects a build_opts.yml file in the sim_telarray directory.
- dependencies.get_corsika_version()[source]#
Get the version of the corsika package.
- Returns:
- str
Version of the corsika package.
- dependencies.get_database_version(db_config)[source]#
Get the version of the simulation model data base used.
- Parameters:
- db_configdict
Dictionary containing the database configuration.
- Returns:
- str
Version of the simulation model data base used.
version#
Software version setting.