_git_pyside_version.py 693 B

1234567891011121314151617181920
  1. # Copyright (C) 2022 The Qt Company Ltd.
  2. # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
  3. from __future__ import annotations
  4. major_version = "6"
  5. minor_version = "10"
  6. patch_version = "1"
  7. # For example: "a", "b", "rc"
  8. # (which means "alpha", "beta", "release candidate").
  9. # An empty string means the generated package will be an official release.
  10. release_version_type = ""
  11. # For example: "1", "2" (which means "beta1", "beta2", if type is "b").
  12. pre_release_version = ""
  13. if __name__ == '__main__':
  14. # Used by CMake.
  15. print(f'{major_version};{minor_version};{patch_version};'
  16. f'{release_version_type};{pre_release_version}')