qiBuild 2.0.6.8 documentation

Home | Search | Index | CMake index | Python index
« previous | up | next »

qisys.version – Managing packages versions¶

Set of tools relate to version numbers

qisys.version.compare¶

qisys.version.compare(a_str, b_str)¶

Compare two versions

>>> compare("1.2.3", "1.2.3")
0
>>> compare("1.2.3", "1.2.3-rc1")
-1
>>> compare("1.20", "1.3")
1
>>> compare("1.20", "1.3-rc2")
1

Quick search

Enter search terms or a module, class or function name.

Table Of Contents

  • Changelog
  • Welcome to qiBuild documentation !
  • Advanced qibuild usage
  • Hacking qiBuild
    • Contributing to qiBuild
    • Managing dependences with qiBuild: an overview
    • Search order
    • Managing shared libraries
    • qiBuild CMake framework design
    • qiBuild Python framework design
    • qiBuild design
    • qiBuild Python documentation
      • qiBuild Python packages documentation
        • qisys modules
          • qisys.archive – Manage .tar.gz and .zip files
          • qisys.command - Launch processes
          • qisys.envsetter – controlling environment variables
          • qisys.interact – Interacting with the user
          • qisys.parsers – Generic command line parsing tools
          • qisys.project - Base project
          • qixml module
          • qisys.remote – Network operations
          • qisys.script – Tools for qibuild scripts
          • qisys.sh – Common filesystem operations
          • qisys.ui – Tools for the command line user interface
          • qisys.version – Managing packages versions
          • qisys.worktree - Registering project paths
        • qisrc modules
        • qibuild modules
        • qitest modules
        • qitoolchain modules

On this page

  • qisys.version – Managing packages versions
    • qisys.version.compare
« previous | up | next »