Coverage for cc_modules/cc_version_string.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1#!/usr/bin/env python
3"""
4camcops_server/cc_modules/cc_version_string.py
6===============================================================================
8 Copyright (C) 2012-2020 Rudolf Cardinal (rudolf@pobox.com).
10 This file is part of CamCOPS.
12 CamCOPS is free software: you can redistribute it and/or modify
13 it under the terms of the GNU General Public License as published by
14 the Free Software Foundation, either version 3 of the License, or
15 (at your option) any later version.
17 CamCOPS is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License for more details.
22 You should have received a copy of the GNU General Public License
23 along with CamCOPS. If not, see <https://www.gnu.org/licenses/>.
25===============================================================================
27**Contains CamCOPS version strings.**
29"""
31# This file MAY NOT import anything except the standard library, because it
32# is read by setup.py, which must operate in a base Python environment.
34# =============================================================================
35# Version constants and configuration variables read by shell scripts
36# =============================================================================
38# -----------------------------------------------------------------------------
39# CamCOPS server version/date
40# -----------------------------------------------------------------------------
41# When you alter the server, it is normal to change these two:
43CAMCOPS_SERVER_VERSION_STRING = "2.4.6"
44CAMCOPS_SERVER_CHANGEDATE = "2021-05-07"
46# +++ NOW ALSO UPDATE: +++
47#
48# documentation/source/changelog.rst
51# -----------------------------------------------------------------------------
52# Minimum tablet version permitted to upload
53# -----------------------------------------------------------------------------
54# BEWARE: it is not normal to have to change MINIMUM_TABLET_VERSION_STRING.
55# If you increase it, you may prevent old clients from uploading.
57MINIMUM_TABLET_VERSION_STRING = "1.14.0"