File: version.py

package info (click to toggle)
pyqt-builder 1.18.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 444 kB
  • sloc: python: 2,123; makefile: 18
file content (13 lines) | stat: -rw-r--r-- 369 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
# SPDX-License-Identifier: BSD-2-Clause

# Copyright (c) 2024 Phil Thompson <phil@riverbankcomputing.com>


from ._version import version, version_tuple


# Convert the setuptools_scm generated version number to our historic names and
# formats.

PYQTBUILD_VERSION_STR = version
PYQTBUILD_VERSION = (version_tuple[0] << 16) + (version_tuple[1] << 8) + version_tuple[2]