olm/python/olm
parona' via Olm bbdac4045d Fix breakage in setuptools-69.0.0 by cleaning up setup.py
Hello,

Setuptools 69.0.0 deprecated a bunch stuff leading to a nasty errors during install.

> File "/tmp/pip-build-env-w815o5v3/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 183, in _license
>          _set_config(dist, "license", val["text"])
>                                       ~~~^^^^^^^^
> KeyError: 'text'
> [end of output]

__version__.py wasn't used anywhere except setup.py so removing and setting it all pyproject.toml is safe.

During this decided to move as much as I could out of setup.py, zip-safe has been obsolete for modern setuptools installation methods so dropped it.

From c0be008217350f03de7f856866a402d95b5db2a3 Mon Sep 17 00:00:00 2001
From: Alfred Wingate <parona@protonmail.com>
Date: Tue, 21 Nov 2023 15:13:35 +0200
Subject: [PATCH] Move metadata to project.toml

* Setuptools 69.0.0 deprecated a slew of old style configurations.

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-11-21 16:07:46 -05:00
..
__init__.py Merge pull request #86 from matrix-org/add_python_pk_signing 2019-04-12 19:21:17 -04:00
_compat.py _compat: Make the encoding argument explicit in to_unicode_str(). 2019-06-20 12:24:08 +02:00
_finalize.py we are already living in the future, part 2 2023-01-19 13:46:34 -05:00
account.py actually remove dependency on future 2023-04-26 10:00:34 -04:00
group_session.py actually remove dependency on future 2023-04-26 10:00:34 -04:00
pk.py actually remove dependency on future 2023-04-26 10:00:34 -04:00
py.typed Fix type hints on the PkDecryption class 2022-05-13 11:39:44 +01:00
sas.py actually remove dependency on future 2023-04-26 10:00:34 -04:00
session.py actually remove dependency on future 2023-04-26 10:00:34 -04:00
utility.py actually remove dependency on future 2023-04-26 10:00:34 -04:00