mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-19 01:48:40 -04:00
Dump setuptools; correct pyproject version number (#12478)
This commit is contained in:
parent
103f51d867
commit
e5a76ec00b
13 changed files with 11 additions and 412 deletions
|
@ -20,6 +20,8 @@ import json
|
|||
import os
|
||||
import sys
|
||||
|
||||
from matrix_common.versionstring import get_distribution_version_string
|
||||
|
||||
# Check that we're not running on an unsupported Python version.
|
||||
if sys.version_info < (3, 7):
|
||||
print("Synapse requires Python 3.7 or above.")
|
||||
|
@ -68,7 +70,7 @@ try:
|
|||
except ImportError:
|
||||
pass
|
||||
|
||||
__version__ = "1.57.0"
|
||||
__version__ = get_distribution_version_string("matrix-synapse")
|
||||
|
||||
if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)):
|
||||
# We import here so that we don't have to install a bunch of deps when
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue